my DAW sends a bunch of sysex strings at once to my midibox. The content of the sysex strings I’d like to display on my OLEDs.
In my DAW there is a mixer. The DAW sends the values of the faders via sysex. I have one OLED that should show those value. So if I select channel 1 on my midibox it shows the first value, channel 2 the second. This is not working at the moment because the DAW sends those values of all channels at once and if I switch on my midibox from one channel to another I need to again dump the sysex strings to the midibox to receive the correct value.
So I’d need to somehow save those received values inside the midibox and recall them.
you could just define multiple EVENT_RECEIVERs, listening to incoming SysEx, matching on certain bytes which indicate which channel is addressed, and then store the value into ^val
Thanks for the reply. I think I’ve tested this already but for some reason it was not working. But I’ll give this a new try early next week and report back!
Edit: I remember. The reason why it wasn’t working was I don’t receive “values” from the DAW but ASCII / text strings instead. And it seems such strings can’t be stored…
i use presonus studio one, the track names are spat out as asci converted to hex, its in my one thread. I have been meaning to test the code i have written but forgot about it as I was soucing parts and building.
I will give it a try tonight see if i can get it to work on mine.
I think that this could be somehow solved by using ^dump in combination with sysex_pos for individual dummy events which collect the characters - the characters then have to be print out conditionally, e.g. based on another dummy event which stores the selected channel.