home *** CD-ROM | disk | FTP | other *** search
/ Da Capo / da_capo_vol1.bin / programs / amiga / misc / metro / rexx / example4.rexx < prev   
OS/2 REXX Batch file  |  1994-09-20  |  927b  |  38 lines

  1. /*
  2.  * Example Metronome ARexx script.
  3.  *
  4.  * You need to run the Metro first!
  5.  *
  6.  * Changes the sample during rhythm.
  7.  *
  8.  * Note: Only use from a hard disk or ram disk...
  9.  *       The samples aren't loaded quick enough from floppy!
  10.  */
  11.  
  12.  
  13. ADDRESS METRO.1
  14.  
  15. tempo 90            /* Set tempo */
  16. note 4                /* Set note type to crotchets */
  17. balance 0            /* Left speaker */
  18. loadsample "Samples/Cowbell2"    /* Load cowbell sample */
  19. start                /* Start */
  20.  
  21. balance 64            /* Right speaker */
  22. loadsample "Samples/Woodblock"    /* Load woodblock sample */
  23. waitticks 3            /* Wait for 3 ticks */
  24.  
  25. do for 3
  26.  
  27.     balance 0                /* Left speaker */
  28.     loadsample "Samples/Cowbell2"    /* Load cowbell sample */
  29.     waitticks 1                /* Wait for 4 crotchets */
  30.  
  31.     balance 64                /* Right speaker */
  32.     loadsample "Samples/Woodblock"    /* Load woodblock sample */
  33.     waitticks 3                /* Wait for 3 ticks */
  34.  
  35. end
  36.  
  37. nomoreticks            /* Stop and let last crotchet finish playing */
  38.