Q-Code User Manual
Ver. 7.0 2021/11/30
264
MM2: PB=0x2
; When system reads Melody Mark M2, MM2 is executed.
MM3: PB=0x3
; When system reads Melody Mark M3, MM3 is executed.
MM4: PB=0x0
; When system reads Melody Mark M4, MM4 is executed.
4.31.5 NoteOn State
If
Q-Melody / Q-MIDI / Cakewalk
is not used for inserting marks for MIDI playing,
[Note On]
section
can be used to directly execute steps for each “channel note on” and jump to the corresponding path.
There can be as many as 255 NoteOn State.
NY5 supports Ch0 ~ Ch3.
NY5+ supports Ch0 ~ Ch3, Ch7.
NY6 supports MIDI channel Ch1 ~ Ch6, Ch10.
NY7 supports MIDI channel Ch1 ~ Ch16.
NX1 supports MIDI channel Ch1 ~ Ch16.
Note: NY4 / NY9T do not support NoteOn State.
Ex.
[Note On]
; CH1
CH2
CH3
CH4
CH1: CH1_ON
X
X
X
CH2: X
CH2_ON
X
X
[Path]
TR1: PlayM($M0)
; Play Melody.
TR2: SWITCH(R0)=[NO1, NO2], R0=0, TR2
; Choose Note On State.
NO1: CH1, R0=1
; Set Note On State=CH1.
NO2: CH2, R0=0
; Set Note On State=CH2.
CH1_ON: BG1
; Call BG1 when every Ch1 note is on.
CH2_ON: BG2
;
Call BG2 when every Ch2 note is on.
[Background1]
BG1:PB=[ X X X 1], DELAY(0.08), PB=[ X X X 0]
[Background2]
BG2:PB=[ X X 1 X], DELAY(0.08), PB=[ X X 0 X]
4.31.6 QFID State
This command is for changing the reaction status of the current QFID. Users can set different QFID
State in
[QFID]
to control the demand of different QFID Tag detection.
Note: NY4 / NY5 / NY5+ / NY6 / NY9T do not support QFID State.
Ex.