No internet connection
  1. Home
  2. How to

Sending MIDI PC/CC to Roland UM-One

By Troy Nababan @Troy_Nababan
    2021-12-02 09:00:52.159Z

    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!

    • 3 replies
    1. 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:

      1. T
        In reply toTroy_Nababan:
        Troy Nababan @Troy_Nababan
          2022-02-23 05:37:06.480Z

          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

          1. 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: