Q-Code User Manual
Ver. 7.0 2021/11/30
162
in voice channel 0, the playback
frequency
is
X0, and simultaneously
execute PB.3=1. (X0=0x05, the
playback frequency is 5k).
4.5.2 WaitVN(Ch)
If voice file is being played, it will execute next command after finishing playing Voice file. Otherwise, it
will immediately execute the next command.
Ch:
voice channel to wait, wait voice playing in all voice channels if omitted.
NY4 does not support Ch parameter.
NY5 / NY5+ support the voice channel Ch0 ~ Ch3.
NY6 supports the voice channel Ch0 ~ Ch5.
NY7 supports the voice channel Ch0 ~ Ch7.
NX1 supports the audio channel Ch0 ~ Ch3.
Note:
1. NY9T does not support this command.
2. PlayV = WaitVN.
Ex.
[Path]
TR1: PlayV(CH1,$V0)
TR2: PlayVS(CH1, $V0), WaitVN(1)
; The result is the same as TR1.
4.5.3 PauseV(Ch)
This command can be used to pause Voice file which currently being played in designated channel.
Ch:
voice channel to pause, pause all voice playing if omitted.
NY4 does not support Ch parameter.
NY5 / NY5+ support the voice channel Ch0 ~ Ch3.
NY6 supports the voice channel Ch0 ~ Ch5.
NY7 supports the voice channel Ch0 ~ Ch7.
NX1 supports the audio channel Ch0 ~ Ch3.
Note: NY9T does not support this command.
Ex.
PowerOn
: InputState
TR1: PlayV(Ch0,$V0), PlayV(Ch1,$V1), PlayV(Ch2,$V2), PlayV(Ch3, $V3)
TR2: PauseV
; Pause all voice playing.