advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Duration and Tempo Commands
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Duration and Tempo Commands
 
 ■ Duration      Action
   ════════      ═══════════════════════════════════════════════════════════
   Llength       Sets the length of each note. L4 is a quarter note, L1
                 is a whole note, and so on. The range for n is 1-64. The
                 length may also follow the note when only a change of
                 length is desired for a particular note. For example, A16
                 can be equivalent to L16A.
   ML            Sets "music legato" so that each note plays the full
                 period set by length (L).
   MN            Sets "music normal" so that each note plays 7/8 of the
                 time determined by the length (L).
   MS            Sets "music staccato" so that each note plays 3/4 of the
                 time determined by the length (L).
 
 ■ Tempo         Action
   ═══════       ═══════════════════════════════════════════════════════════
   Ppause        Specifies a pause, ranging from 1-64. This option
                 corresponds to the length of each note, set with Llength.
   Ttempo        Sets the "tempo," or the number of L4 quarter notes per
                 minute. The range for n is 32-255. The default for n is 120.
                 Note: Because of the slow clock-interrupt rate, some notes
                 do not play at higher tempos (such as L64 at T255). A period
   .             after a note causes the note to play 3/2 times the length
                 determined by L (length) times T (tempo):
                 • The period has the same meaning as in a musical score.
                 • Multiple periods can appear after a note.
                 • Each period adds a length equal to one-half the length of
                   the previous period. For example:
 
                   Command     Description
                   ═══════     ═════════════════════════════════════════════
                   A.          Plays 1 + 1/2, or 3/2 times the length
                   A..         Plays 1 + 1/2 + 1/4, or 7/4 times the length
 
                 Note: Periods can appear after a pause (P). In this case,
                 the pause length is scaled in the same way notes are scaled.
 
 See: Foreground/Background Operations (PLAY)
      Octave and Tone Commands
      PLAY Statement (Music)