Q-Code User Manual
Ver. 7.0 2021/11/30
188
Note:
1. NY4 / NY5 / NY7 / NY9T / NX1 do not support this command.
2. NY6 does not support Ch parameter.
Ex.
TR2:TMR_OFF
; Close the Timer function.
4.11.3 TMR_Read(Rj:Ri) / TMR_Read(Xi)
Read count of Timer.
Note: NY4 / NY5 / NY5+ / NY7 / NY9T / NX1 do not support this command.
Ex.
Save the count of Timer X0.
TR1: TMR_Read(X0)
; Save the received count of Timer to Register X0.
Ex.
Save the count of Timer to R0, R1.
TR1: TMR_Read(R1:R0)
; Save the received count of Timer to Register R0,
R1.
4.12 MIDI Command
MIDI Command
ReadTempo(Ri:Rj) ReadTempo(Xi)
4.12.1 PlayM / PlayMS(Parameter {++} )
This command provides user with simple commands to play music files.
The format of command is shown as following:
PlayM ({Ch,} Parameter {++} ) {*n} {& [BG1{,BG2 {,BG3}} ] }
PlayMS ({Ch,} Parameter {++} ) {& [BG1{,BG2 {,BG3}} ] }
PlayM:
execute next command after finishing playing Melody file.
PlayMS:
execute next command after starting playing Melody file.
Ch:
specify audition channel.
NY5 / NY5+ / NY6 / NY7 do not support Ch parameter.
NX1 supports 0 ~ 3 or Ch0 ~ Ch3.
Parameter:
specify music file.