For an Encoder on one of the Code's 4 banks to change its mode (Absolute/Relative) or its LED Ring Style ('Walk' etc…) using MIDI Messages in Max, which messages need to be sent in what order?
Currently, the algorithm I use is to switch to a bank and send CC 1 80 on Ch 16 to turn Encoder 1 into Relative Mode. This does not work every time though, I take it the messages will be applied to the encoders on the currently visible bank but somehow information gets lost on the way…
Q: Does the bank on the Code have to be selected manually bmo Bank Cycle Button or can it likewise be selected with a Ch 16 Program Change message to the Code before sending the CC value to the Encoder/s?
Setting the LED Ring Style works most o the time.
The idea is to save button modes and LED Ring styles in a pattrstorage, which means that when loading the set all button's modes etc. will want to be retrieved on start-up. If a chain of messages is needed to first select the bank, then update the pattrs, then select the next bank, update pattrs, etc. — which method would work best on the Code? Perhaps some time needs to elapse before Encoders can receive the settings info?
Help HIGHLY appreciated!
Comments
You may find a useful command here:
http://wiki.lividinstruments.com/wiki/Code#Code_Sysex
Possibly set bank channel or set basic channel would do what you want?
Thanks Mark,
Hi Moon, thanks for the advice.