Contents page

Rules for Tools/popupoctave()


popupoctave()
SYNOPSIS
     char popupoctave(struct Windwo *window, char oldoctave)

ARGUMENTS
    `struct Window *window'
          Current window.

    `char oldoctave'
          Previous octave.

DESCRIPTION
     `popupoctave()' displays a list of the ten MIDI octaves under the
     mouse so the user can select an octave.  If the user does not
     select an octave, `popupoctave()' returns the original octave
     supplied in oldoctave.  The octave ranges from 0 to 9.  To
     translate to MIDI, multiply the octave by 12.

     Use `popupoctave()' in conjunction with `popupkey()' to select
     MIDI notes.

SEE
     See popupkey().