home *** CD-ROM | disk | FTP | other *** search
/ Da Capo / da_capo_vol1.bin / programs / amiga / misc / metro / rexx / example1.rexx next >
OS/2 REXX Batch file  |  1994-09-17  |  523b  |  24 lines

  1. /*
  2.  * Example Metronome ARexx script.
  3.  *
  4.  * You need to run the Metro first!
  5.  *
  6.  * Plays 4 crotchets, 8 quavers then 4 crotchets again.
  7.  */
  8.  
  9.  
  10. ADDRESS METRO.1
  11.  
  12. tempo 90    /* Set tempo */
  13. note 4        /* Set note type to crotchets */
  14. start        /* Start Metronome */
  15. waitticks 3    /* 1 click has already started, so only wait for 3 */
  16.  
  17. note 8        /* Change to quavers */
  18. waitticks 8    /* Wait for 8 quavers */
  19.  
  20. note 4        /* Back to crotchets */
  21. waitticks 4    /* Wait for 4 crotchets */
  22.  
  23. nomoreticks    /* Stop and let last crotchet finish playing */
  24.