home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Da Capo
/
da_capo_vol1.bin
/
programs
/
amiga
/
misc
/
metro
/
rexx
/
example4.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1994-09-20
|
927b
|
38 lines
/*
* Example Metronome ARexx script.
*
* You need to run the Metro first!
*
* Changes the sample during rhythm.
*
* Note: Only use from a hard disk or ram disk...
* The samples aren't loaded quick enough from floppy!
*/
ADDRESS METRO.1
tempo 90 /* Set tempo */
note 4 /* Set note type to crotchets */
balance 0 /* Left speaker */
loadsample "Samples/Cowbell2" /* Load cowbell sample */
start /* Start */
balance 64 /* Right speaker */
loadsample "Samples/Woodblock" /* Load woodblock sample */
waitticks 3 /* Wait for 3 ticks */
do for 3
balance 0 /* Left speaker */
loadsample "Samples/Cowbell2" /* Load cowbell sample */
waitticks 1 /* Wait for 4 crotchets */
balance 64 /* Right speaker */
loadsample "Samples/Woodblock" /* Load woodblock sample */
waitticks 3 /* Wait for 3 ticks */
end
nomoreticks /* Stop and let last crotchet finish playing */