Q-Code User Manual
Ver. 7.0 2021/11/30
159
NY5 / NY5+ supports the voice channel Ch0 ~ Ch3 or 0 ~ 3.
NY6 supports the voice channel Ch0 ~ Ch5 or 0 ~ 5.
NY7 supports the voice channel Ch0 ~ Ch7 or 0 ~ 7.
NX1 supports the voice channel Ch0 ~ Ch3 or 0 ~ 3.
Voice:
Voice file to be played.
Voice file label.
Combination of Ri (support 1 ~ 4 Ri) or Xi (support 1 ~ 2 Xi). Indicate the nth voice file to be
played. If Ri / Xi with “++”, the value of Ri / Xi will increase by 1 after playback.
Recording section defined in
[Record]
.
PlaySpeed:
the play speed to play specified voice file. If omitted, voice file will be played as the
sample rate of file. PlaySpeed accepts frequency or Xi, range 4k ~ 44.1k.
NY4 / 5 assign playback speed via Ri / Xi command. For more detail, please refer to
NY5+ / NY6 / NY7 use the parameter of Ri / Xi as the playback speed, R0 = 0xA
,
the playback
speed is 10k.
NX1 does not support PlaySpeed parameter.
n:
numbers of repeated playback.
NY4 / NY5 / NY5+ / NY6 / NY7 support constant 1 ~ 15.
NX1 supports constant 1 ~ 255.
BG1 / BG2 / BG3:
Background path
Background path name.
X: does not change the current status of path.
OFF: stop background path.
Note:
1. NY9T does not support this command.
2. For NY4 / NY5, using Voicename{*n} commands, the system will not have default sampling
rate and will play voice according to the sampling rate of previous voice. Therefore, if the
current voice has different sampling rate from the previous voice, it may lead to
inappropriate sampling rate for current voice.
Ex.
Specify voice to be played.
P1: PlayV(Ch1,$V1,6k)/PlayVS(Ch1,$V1,6k)
; Play voice by voice file label.
P2: PlayV(ch0, X1:X0, 10k), PB.3=1
; Execute PB.3=1 after playing the voice file
specified by register value in voice channel 0, and
the playback frequency is 10k (If X1=0x01, X0=0xF2,
then play no.V498 voice file).
P3: PlayV(ch0, R3:R2:R1:R0, 10k), PB.3=1
; Execute PB.3=1 after playing the voice file
specified by register value in voice channel 0, and