Q-Code User Manual
Ver. 7.0 2021/11/30
191
Action
Command
Description
PlayM($M0)&[BG1,X]
Does not change the current status of BG2.
PlayM($M0)&[OFF,BG2] Stop the execution of current BG1.
PlayM($M0)&[BG1,OFF] Stop the execution of current BG2.
Ex.
[Melody Database]
D:\.qcODE\TEST\ADSR.qmd
; M0 = Music.mid, 4 channel
; M1 = Start.mid, 4 channel
[Path]
TR1: PlayM($M0)
; Play number M0 of melody file.
TR2: PlayM($M0)*3
; Play number M0 of the Melody file 3 times.
TR3: PlayM($M0)&[BG1, BG2]
; Play number M0 while calling Background1 and
; Background2.
[Background1]
BG1: ……
[Background2]
BG2: ……
4.12.2 WaitMN
If Melody is being played, it will execute next command after finishing playing Melody. Otherwise, it will
immediately execute the next command.
Note:
1. NY4 / NY9T do not support this command.
2. PlayM = WaitMN.
Ex.
[Path]
TR1: PlayM($M0)
TR2: PlayMS($M0), WaitMN
; The result is the same as TR1.
4.12.3 PauseM
PauseM is to pause the current playback of melody.
Note: NY4 / NY9T do not support this command.
Ex.
PowerOn
: PlayM($M0)
TR1: PauseM
; Pause the playback of melody.