|
Post by cnsgmusic on Nov 5, 2022 13:08:09 GMT
Hey there!
I have a simple push encoder that can transmit any CC with a value of 0-127 when rotated and any CC with either 127/0 when pushed on/off.
Basically I want to use my encoder to “browse” up to 128 presets via scrolling (my hardware controller has a nice display for this) but only actually load that preset once the encoder is pushed as a button.
In other words, can StreamByter remember most current message received for a given CC and then transmit that message upon receipt of a different, specified message?
Thank you!
|
|
|
Post by redheronmusic on Nov 6, 2022 16:39:04 GMT
# Scroll and Recall Preset # Red Heron Music, Nov 6, 2022
# Example uses # Cc 01 on Ch1 for scroll # Cc 02 on Ch1 for press # i0 to store last scroll value
If Load Ass i0 = 0 # initialize scroll value (optional) End
If M0 == B0 01 # Detected scroll Ass i0 = M2 End
If M0 == B0 02 7F # Detected push # Message to recall patch goes here # Example is Program Change on Channel 1 Snd C0 i0 End
|
|