Sending MIDI PC/CC to Roland UM-One
Hi,
I'm trying to get Soundflow + Streamdeck to control a guitar amp and pedal switcher (KHE Amp Switcher via CC and Rocktron Patchmate via PC messages) and I cant seem to get things to work.
I have a Roland UM-One USB-MIDI interface to connect things together. If I send MIDI data directly out of Pro Tools I can see lights on the Roland unit flash, and I have been able to control the Rocktron unit with PC commands. However, when I run a Soundflow script to send either PC or CC data, the Roland interface and neither of the switchers are responding. I have set the correct MIDI channels for each unit, but I feel like its firstly a case of getting Soundflow to talk to the Roland
Is there something I'm missing?
Thanks!
- Christian Scheuer @chrscheuer2021-12-02 14:59:24.497Z
Hi Troy,
Try sharing a screenshot of your macro, or even better, convert it to a script and copy/paste the script here :)
You can learn more here:
- TIn reply toTroy_Nababan⬆:Troy Nababan @Troy_Nababan
Hi Christian,
Sorry I never responded, I ended up getting distracted with other work (and a new baby)
I managed to get this to work, it was embarrasingly simple to be honest. After a few hours of reading posts, all I had to do was make a script that sends the MIDI out to the UM-ONE like this -
sf.midi.sendCC({ externalMidiPort: 'UM-ONE', midiChannel: 12, midiCC: 0, value: 127, });
Next question I have - with my amp switcher I can turn channels on and off by only sending a CC Value of 127. However, with my other loop switcher I need to send 127 to turn it on and 0 to turn it off. How am I able to toggle a command between 0 and 127?
Last question which is a little unrelated. I've made a great little surface to run my whole guitar system, but the only thing that I cant work out is how I can make the button on the surface somehow change when its been pressed. I'm thinking either change the button background to a different colour or turn the boarder on and off so it looks highlighted. Is this possible to do?
Thanks a lot
Christian Scheuer @chrscheuer2022-03-29 18:11:46.503Z
Hi Troy,
Dynamic surfaces are currently only available to SoundFlow Developers.
To make a switcher, you'll need to use a globalState variable to alternate between doing two different things. This is quite simple, you should be able to find some example code on the forum. Here's an example: