Q-Code User Manual
Ver. 7.0 2021/11/30
192
4.12.4 ResumeM
This command can be used to resume the paused playback of melody data. This command has no
effect for the following conditions:
1. The playback of melody data is finished.
2. StopM or Stop commands have been executed.
Note: NY4 / NY9T do not support this command.
Ex.
PowerOn
: PlayM($M0)
TR1: PauseM
; Pause the playback of melody.
TR2: ResumeM
; Resume the playback of melody.
4.12.5 StopM
StopM command is to immediately stop the current playback of melody data.
Note: NY4 / NY9T do not support this command.
Ex.
PowerOn
: PlayM($M0)
TR1: StopM
; Stop the playback of melody.
4.12.6 Instrument(Ch, i)
Instrument command is to change the timbre of the playing Melody.
Ch:
MIDI channel to change instrument.
NY5+ supports 1 ~ 4, 10.
NY6 supports 1 ~ 6, 10.
NY7 supports 1 ~ 16.
NX1 supports 1 ~ 16
i:
GM timbre, can be immediate value or variable. Range 0 ~ 127.
Note:
1. NY4 / NY5 / NY9T do not support this command.
2. This command only takes effect when Melody is playing.
3. If the GM timbre is specified by an variable and timbre does not exist, it may result in
switching error or abnormal playback.
Ex.
Instrument(Ch2, 1)
; Change the timbre of MIDI channel 2 as timbre number 1.
Ex.
Instrument(Ch1, R1:R0)
; Replace the timbre of MIDI channel 1 to R1:R0 of GM timbre
forcibly; R1 is high 3 bit and R0 low 4 bit.
Ex.
Instrument(Ch3, X0)
; Replace the timbre of MIDI channel 3 to the GM timbre
number of X0 forcibly.