No internet connection
  1. Home
  2. How to

How to control volume faders on Pro Tools using a MIDI controller?

By Sheryl Chee @Sheryl_Chee
    2021-03-22 22:55:55.430Z

    Hi there, I'm trying to map Pro Tools fader to a MIDI controller based on the instructions here: https://soundflow.org/docs/workflows/controlling-pro-tools-faders-from-any-midi-device.
    In part C, it says to "paste the following code into the script editor". I've tried that and the error message "TypeError: Cannot read property '0' of null (MIDI Faders line 5)" pops up whenever I run the command. How can I go about doing this?

    Solved in post #3, click to view
    • 21 replies

    There are 21 replies. Estimated reading time: 9 minutes

    1. Kitch Membery @Kitch2021-03-23 01:50:22.858Z

      Hi @Sheryl_Chee,

      Thanks for asking here in the forum.

      It seems that the tutorial you are following needs some updating (It was created with an older version of SoundFlow.) I'll update it tonight and get back to you.

      Rock on!

      1. In reply toSheryl_Chee:
        Kitch Membery @Kitch2021-03-23 02:54:22.883Z

        Hi @Sheryl_Chee,

        I have updated the tutorial and placed it in the Tutorials section of the forum. Here is the Link;

        Keep me posted if after following the updated tutorial you still experience issues.

        Rock on!

        ReplySolution
        1. Kitch Membery @Kitch2021-03-23 03:12:58.208Z

          Hi @marcello_azevedo,

          I saw you liked my last message on this forum post, so thought I'd copy you in, in case you are interested. :-)

          1. marcello azevedo @marcello_azevedo
              2021-03-23 16:55:27.150Z

              You are too much Kitch!!!
              Thank you!!!!!!

              1. Kitch Membery @Kitch2021-03-23 20:05:43.198Z

                What can I say... I love helping this community out!

            • In reply toKitch:
              SSheryl Chee @Sheryl_Chee
                2021-03-23 04:46:04.042Z

                Hey Kitch, you're an absolute legend!
                I managed to adjust one fader level using the MIDI controller now. The other 7 however are not moving even though the tracks are highlighted in PT. Inside Soundflow, I've already assigned the MIDI triggers on the other 7 faders. Am I missing a step?

                1. Kitch Membery @Kitch2021-03-23 06:28:33.609Z

                  Good to see we're making progress.

                  I can see from your screenshot you are assigning each of the faders as a trigger. There's no need for multiple trigger assignements.

                  So, remove the triggers you added for Channel 2 - 8. You only need to assign the first fader and the remaining faders should work. (assuming they all send out individual CC values, ie CC Fader 1 = 15 => Fader 8 = 22).

                  Let me know if that works.

                  I only have one fader to test this, unfortunately.
                  :-)

                  1. AAndrew Sherman @Andrew_Sherman
                      2021-03-23 20:44:56.852Z

                      Hi Kitch, I'm trying to set this up (thanks to your revised tutorial!), but I can't see any soundflow HUI options in my "receive" column. Do you have any tips on where it's going wrong?

                      .
                      1. Kitch Membery @Kitch2021-03-24 01:09:33.822Z

                        You're welcome @Andrew_Sherman,

                        That is odd that the HUI output is missing.

                        Have you installed the latest drivers for your midi device?

                        Other than that I'm not sure how I could troubleshoot the issue, You could maybe ask on the Avid DUC. It may have been asked before.

                        Rock on!

                        1. In reply toAndrew_Sherman:
                          AAndrew Sherman @Andrew_Sherman
                            2022-06-12 21:01:11.604Z

                            Just posting the solution to my specific problem in case it's helpful to anyone.

                            First go to:
                            Setup > Midi > Midi input devices
                            and activate Soundflow HUI Output

                            This will allow the option to choose Soundflow HUI Output in "Receive from" column (in the Peripherals window).

                            1. Kitch Membery @Kitch2022-06-12 21:03:11.756Z

                              Nice one @Andrew_Sherman !

                              Glad you worked that out. :-)

                              1. In reply toAndrew_Sherman:
                                Kitch Membery @Kitch2022-06-12 21:13:58.002Z

                                Hi @Andrew_Sherman,

                                I've updated the tutorial to make sure that the "Soundflow HUI Output" is enabled as the first step.

                                Rock on!

                            2. In reply toKitch:
                              SSheryl Chee @Sheryl_Chee
                                2021-03-23 21:46:53.727Z

                                I just had a look. It seems like all the other faders all send out the same CC values (15 in my case). Does this mean that they won't be able to control the channel faders separately and individually?

                                1. Kitch Membery @Kitch2021-03-24 01:05:29.307Z

                                  Hi Sheryl_Chee

                                  If you can get a hold of the manual for the RODEcaster Pro and send me a link I can look to see if there is a setting to change the CC messages that it is sending.

                                  Rock on!

                                2. In reply toKitch:
                                  Yujiro Yonetsu @Yujiro_Yonetsu
                                    2021-05-06 23:18:10.757Z

                                    Excuse me for cutting in,
                                    I'm in the same situation.

                                    My Controller is MINILAB mk2 by ARTURIA

                                    Her output CC is

                                    like this.

                                    Probably most MIDI devices have the CC numbers not aligned correctly like this.

                                    By the way, when I assigned #74 to the first fader, moving the knob on #75 did not move the second fader.

                                    I need help
                                    please

                                3. In reply toKitch:
                                  BBlake Marymor @Blake_Marymor
                                    2023-02-02 17:04:01.256Z

                                    hello Kitch. Thanks for this. I am getting the original "TypeError: Cannot read property '0' of null (MIDI Faders line 5)" message when trying to run this in SF v5.3.0. Anyway you can assist?

                                    1. Kitch Membery @Kitch2023-02-02 18:42:14.297Z

                                      Hi @Blake_Marymor,

                                      Would you be able to log a bug report for this, that way we'll get the information we need to investigate further.
                                      Please click here to send us the information we need.

                                      Thanks in advance.

                                      1. JJosh Frigo @Josh_Frigo
                                          2023-10-01 03:42:37.018Z

                                          Hey all! I'm attempting to run this script in 2023. New to SoundFlow. Is anyone successfully using this still? I've followed all the steps, I've got blue boxes around my Pro Tools tracks, but when I move my midi fader nothing happens. Any idea how to get this up and running?

                                          1. JJosh Frigo @Josh_Frigo
                                              2023-10-02 19:28:55.868Z

                                              Fixed this! I managed to get 1 fader working after my initial post by reprogramming my Sparrow 5x100. Then, even though the instructions say it's not necessary, the thing that got all 5 faders working was to make individual triggers for each one. If other folks experience the same issue, try that!

                                              1. In reply toJosh_Frigo:
                                                AAldo Max @Aldo_Max
                                                  2024-02-04 18:15:19.975Z

                                                  Thank you Josh! I was in the exact same situation with the Sparrow 5x100 and now it works perfectly.

                                                  1. In reply toJosh_Frigo:
                                                    SSteven Schouten @Steven_Schouten
                                                      2024-08-07 04:22:47.015Z

                                                      I know this post was from a while ago but I found that changing the midi CC# in the Trigger at the bottom of the menu to 'ALL CC' fixed the issue of needing to create multiple triggers