Contents

Music format

The music parser understand a language inspired by mudela (MUsic DEfinition LAnguage), as used by GNU Lilypond. An example will tell more than I can explain:

\staff{
c, g cisis' < e' g' cis''> cis'' 
}

Apostroph (') and comma (,) is used to tell what octave the note is in. Notenames are: c d e f g a b, with endings like this to get accidentals: ceses ces cis cisis eses es eis eisis. Rests are entered with an r. Notes to be stacked as a chord is inside 'less than' and 'greater than' chars: <c e g>

\relative

A very useful \relative mode, like what you find in Lilypond, saves you from typing lots of commas and apostrophes. The parser will look at what octave the previous tone is, and place the note in the octave that make the intervall smallest possible. See the next two examples:

\staff\relative c'{
\key d; \time 3/4;
d a a | a2 fis8 a | d4 b b | b2
}

\staff\relative c'{
c e g c e g c e g
}

Clefs

You can set the clef with the \clef clefname; command. The default clef is violin clef. The following clefs are supported:

\addvoice

Use \addvoice do enter polyphonic music:

\staff\relative c'{
\stemup c d e f | g2 g
}
\addvoice\relative c'{
\stemdown c4  b c2 e2 e
}

Ties

Tie notes together using the tilde ~ character. An example:
\staff\relative c''{
g ~ [g8 e] f4~ <g f c> ~ <g e c>
} 

Copyright (C) 2000 Tom Cato Amundsen. This file may be distributed under the terms of the GNU General Public License version 2 or (at your option) any later version.