XOR Userforum

Full Version: Mapping Q
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

Honestly speaking, I need a mapping tutorial (perhaps could write it myself if I understood mapping quite well)

Q1:
How should I program this usecase:

Accept CC#105 value 1 on MIDI channel 5 -> start only the required pattern in track 1 and keep playing the entire column of patterns (no islands) underneath it?

Q2:
Does CALC source compute each time the mapping runs (AFAIK it runs every msec)?

Sincerely, Paul
Q2: Yes

Q1: A very basic one would be like this:

Code:
00 MCC TC5 # 105
01 CALC FORC =000 > TRCK TRK1 STRT


This does read CC105 on (din) Midi Channel 5 in the first row. If the value from row 00 (that is the 00 part of =000) is 0 then nothing happens, if it got any value then the first row in the first track will be started. (first row decided by the first 2 digits of '=000' )
Keep in mind that the START is being hold as long as there is a value on the midi CC105.


Code:
00 MCC TC5 # 105                            
01 CALC FORC =200 > TRCK TRK1 STRT

Would start ROW 02.

Code:
01 CALC FORC VA00  > TRCK TRK1 STRT

Would start a row that is specified in Variable A