Q-Code User Manual
Ver. 7.0 2021/11/30
165
NY5+ supports Ch0 ~ Ch3.
NY6 supports Ch0 ~ Ch5.
NY7 supports Ch0 ~ Ch7.
Note:
1. NY4 / NY5 / NY9T / NX1 do not support this command.
2. This command is not valid when the specified voice channel is not playing voice.
Ex
.
V_Ch0_Vol = 200
; Set the volume of Ch0 as 200, 78% to the original.
Ex.
V_Ch1_Vol = X0
; Set the volume of Ch1 by the value of X0.
4.5.8 Xi = V_Chx_Vol
Access the channel volume of speech being played.
Chx:
Specify the voice channel.
NY5+ supports Ch0 ~ Ch3.
NY6 supports Ch0 ~ Ch5.
NY7 supports Ch0 ~ Ch7.
Note: NY4 / NY5 / NY9T / NX1 do not support the command.
Ex.
X0 = V_Ch0_Vol
; Read the volume of voice channel 0 and save the
result to X0.
4.5.9 SBC_Loop_On
Turn on the SBC loop.
Note:
1. NY4 / NY5 / NY5+ / NY6 / NY7 / NY9T do not support this command.
2. When turns on the loop function, SBC-1 and SBC-2 only provides a single channel for
loop.
Ex.
PowerOn
: InputState
TR1: PlayV(ch0,$V0)
;
Playeback of SBC voice file.
TR2: SBC_Loop_On
;
Turn on the loop of playback.
TR3: SBC_Loop_Off
;
Turn off the loop of playback.
4.5.10 SBC_Loop_Off
When turns off the loop function, the voice will keep playing untill reaching to an end
Note: NY4 / NY5 / NY5+ / NY6 / NY7 / NY9T do not support this command.