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?

- 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!
- 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!
Kitch Membery @Kitch2021-03-23 03:12:58.208Z
I saw you liked my last message on this forum post, so thought I'd copy you in, in case you are interested. :-)
marcello azevedo @marcello_azevedo
You are too much Kitch!!!
Thank you!!!!!!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
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?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.
:-)- AAndrew Sherman @Andrew_Sherman
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?
.
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!
- In reply toAndrew_Sherman⬆:AAndrew Sherman @Andrew_Sherman
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 OutputThis will allow the option to choose Soundflow HUI Output in "Receive from" column (in the Peripherals window).
Kitch Membery @Kitch2022-06-12 21:03:11.756Z
Nice one @Andrew_Sherman !
Glad you worked that out. :-)
- 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!
- In reply toKitch⬆:SSheryl Chee @Sheryl_Chee
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?
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!
- In reply toKitch⬆:
Yujiro Yonetsu @Yujiro_Yonetsu
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
- In reply toKitch⬆:BBlake Marymor @Blake_Marymor
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?
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.
- JJosh Frigo @Josh_Frigo
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?
- JJosh Frigo @Josh_Frigo
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!
- In reply toJosh_Frigo⬆:AAldo Max @Aldo_Max
Thank you Josh! I was in the exact same situation with the Sparrow 5x100 and now it works perfectly.
- In reply toJosh_Frigo⬆:SSteven Schouten @Steven_Schouten
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