Random notes on things that I've discovered, or done.  Some of the
macros here are defined in karlmusic.tex; they all call macros in
musictex.tex to do the real work.

First arg to \autolines tells you the basic unit of spacing for \beat;
e.g., 8 means that eighth notes are 1, 16th notes .5, etc.  Spacing
still needs work, though.

End each bar with \barre.

Note pitches:
a..g for notes on the staff (starting at first space, i.e., f and a).
A..G for notes towards middle; i.e., C is middle C.
\a..\g for notes above (below) the staff for treble (bass) clef.

Note lengths:
\qu = quarternote, stem up, advance spacing
\ql = quarternote, stem down, advance spacing
\zql = ..., don't advance spacing
\zqu = ...

that is, besides the note spec (q),
  there can be a suffix u (up) or l (down)
  and/or a prefix z (don't change position)

other note specs: cc for sixteenth, c for eighth note, h for half note,
w for whole note.

All this is followed by the pitch.

For dotted notes, precede with \dotted, or add suffix `p'.  Not sure
when to do which, or if it matters.  If need to dot a rest or something
that's a note, use \pt<pitch> <thing>.


Accidentals:

Precede the note with ^ for sharp, _ for flat, = for natural, > for
double sharp, < for double flat.


Beams:
\ubeam {BEAM-REF-NUMBER}{STARTING-NOTE}{SLOPE} ... \endubeam{REFNUM}{NOTE}
\lbeam <same> ... \endlbeam{REFNUM}

for upper and lower, respectively.

Use \ubeam ... \endlbeam (or the converse) if the first note is
  below the beam and the last above.

For a double beam (sixteenths), use ``bbeam'', for 32nds ``bbbeam'', for
64ths ``bbbbeam''.  (That's as far as it goes.)  Always end with \endubeam.

If the beam starts with a dotted note, use \...beamp.

When two notes start a beam, use the one that is pitched further towards
the beam first (i.e., higher pitch if upper beam, lower if lower).

The \...beam and \...beamp start a beam with a spacing note.  To start a
beam with a nonspacing note, use \zubeam, \zubbeam, etc.  Need this when
two notes at a time, and too far apart for lower stem to cross upper
notehead (see example 5).

To continue a beam, use \qh for spacing notes that go up, and \qb for
those that go down. \zq for nonspacing notes.  (I think)


Ties:
\lhltie {TIE-REF-NUM}{STARTING-NOTE} ... \endtie{REF-NUM}
For a tie above the note going down,
or \uhltie for a tie below the note going down,
or \lhutie for a tie above the note going up,
or \uhutie for a tie below the note going up.
The h means start a halfnote tie.

Add a suffix p to start a tie on a dotted note.

It seems to be best to end all ties or beams before starting new ones
at a single beat.


Text:
You can put stuff at an arbitrary note position with
\charnote{pitch}{stuff}.  This causes spacing.
To not have spacing, use \zcharnote.
To have the text go the left instead of the right, use \lcharnote.



Moving:

\sk moves right by one notespacing.
\skneg moves left.
\off{dimen} moves by some arbitrary dimension.
\offset{NOTE} puts NOTE just to the right of the current position, then
  moves back.


\printbarnumbers{true,false}
\verbose{true,false}
