Path_Command
Description
Mi:[Path1, Path2,
Path3, .... Pathn]
Path1 is executed when Mi=1;
Path2 is executed when Mi=2;
....
Pathn is executed when Mi=n
Random(Mi)
Get a random code and put it to Mi
Timert: timer_path
Initial the timer. If time out then timer_path is executed, t=0.1~65 sec.
TimerON
Start the timer counter
TimerOFF
Stop timer counter
n*soundfile, n*#N or
#N
Play the soundfile n times
#N is the N th soundfile which is defined in the audio file declaration part.
The starting number is 0
[n*soundfile] or
[repeat *soundfile]
Play the soundfile n times or repeatedly via channel 2 and simultaneously
execute the next path command.
Wait
Stop executing the next path command until the channel 2 soundfile is
terminated.
Note: The n of TRn ranges from 1 to 32
Volume_1=15 is equal to Volume=15
Samplerate_1=4000 is equal to Samplerate=4000 , 4000 means that the sampling rate is
4kHz.
The Mi, Mj are working registers (i, j=0, 1, 2, ..., 10), the M0~M4 are dedicated for users, the
others are shared with VAR and Timer command.
Register
Command
Comment
M0~M4
Normal register
M5, M6
VAR
If the VAR instruction is used, the M5, M6 will be invalid.
M7~M10
Timer
If the Timer instruction are used, the M7~M10 will be in-
valid.
Example:
EASY 4
INPUT STATES
;
TR1
TR2
TR3
TR4
start:
/P1
X
X
X
PATHS
POWERON:
start
END
where POWERON is a reserved pathname and provides the initial setting. When the power is
turned on, a falling edge trigger in TR1 is accepted and others are all ignored.
HT84XXX
22
April 26, 2000