XOR Userforum
Mapping Q - Printable Version

+- XOR Userforum (https://xor-electronics.com/forum)
+-- Forum: Products (https://xor-electronics.com/forum/forumdisplay.php?fid=3)
+--- Forum: NerdSEQ (https://xor-electronics.com/forum/forumdisplay.php?fid=6)
+---- Forum: Everything Else (https://xor-electronics.com/forum/forumdisplay.php?fid=23)
+---- Thread: Mapping Q (/showthread.php?tid=2027)



Mapping Q - argent_smith - 11-15-2025

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


RE: Mapping Q - XORadmin - 11-17-2025

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