home *** CD-ROM | disk | FTP | other *** search
-
- #
- # constants used for defining the structure of a piece of music.
- #
- # Must be included after scales.mh and chords.mh
- # include files.
- #
-
- # constants for roots. These are used to
- # define the root of the chords used in the piece.
- #
- CCHORD = 0
- C#CHORD = 1
- DbCHORD = 1
- DCHORD = 2
- D#CHORD = 3
- EbCHORD = 3
- ECHORD = 4
- FCHORD = 5
- F#CHORD = 6
- GbCHORD = 6
- GCHORD = 7
- G#CHORD = 8
- AbCHORD = 8
- ACHORD = 9
- A#CHORD = 10
- BbCHORD = 10
- BCHORD = 11
-
-
-
- # constants for defining meaning of array slots
- #
- PROOT = 0
- PCINDEX = 1
- PBEATS = 2
- PSCALES = 3
- PSCALE1 = 4
- PSCALE2 = 5
- PSCALE3 = 6
-
- # structure of one line in piece array
- #
- # chord, chord index, no of q beats, no of scale kinds, scale1, scale2, ...
- #
- #
- # up to three scale types may be defined for a chord.
- #
-
- PCOLS = 7
- PROWS = 100
- # end of piece
- EOP = {-1}
-