| Token |
Comment |
Next State |
| T_TEXT |
A line of comment (including newline) or a "[r:...]" field.
|
|
| T_FIELD |
A line starting with "x:" (where x is any character)
|
|
| T_INFIELD |
An inline field "[x:....]" (where x is a letter different from 'r')
|
|
| T_EXTFIELD |
A line starting with "%%"
|
|
| T_EMPTYLINE |
A line that contains a possibly empty sequence of spaces
|
LIMBO |
| T_PRAGMA |
A line starting with '#' |
|
| T_ENDLINE |
The end of the text line that also indicated the end of the musical line |
|
| T_CONTINUE |
The text line ended but it doesn't break the musical line. It is reported when the
line ends with a backslash ('\') |
|
| T_WHITESPACE |
A sequence of spaces (space or tabs) |
|
| T_IGNORE |
A sequence of backticks (ASCII 96) i.e. spaces that should be ignored.
as mentioned in section 4.7 of the 2.0 draft |
|
| T_NOTE |
A note including accidentals and duration. Microtonal accidentals in the form
"^2/3C" are supported for compatibility wity abcm2ps. |
|
| T_REST |
A rest ("x","z" or "Z") including duration. |
|
| T_SPACER |
A spacer ("y") including and optional dimension (for compatibiilty with abcm2ps). |
|
| T_DECORATION |
A decoration in the form "+...+" or "!...!". Note that rolls ("~") and staccato (".")
are not reported as decorations but as T_USERSYMBOL following the indications of section 4.14
of the 2.0 draft |
|
| T_LYRICS_LINE |
Signify the beginning of a "w:" line. |
LYRICS |
| T_SYMBOLS_LINE |
Signify the beginning of a "s:" line. |
SYMBOLS |
| T_CHORD |
Signify the beginning of a chord "[...]". |
CHORD |
| T_GRACE |
Signify the beginning of a set of grace notes "{...}" or "{/...}". |
GRACE |
| T_BREAKLINE |
A forced breakline ("!") |
|
| T_BAR |
One of the bars defined in section 4.8 of the 2.0 draft standard. Repetitions
(i.e. a sequence of ':') are allowed before and after the combination of '[', '|' and
']'. Dotted bars are also allowed. As indicated in the draft many sequence are accepted
for a bar (for example "[[|]]" is considered a single bar but not all (for example
"[][|" is recgnized as two bars). |
|
| T_ENDING |
An indication of variable ending ("[1" for example). For compatibility with
abcm2ps these formats are also accepted: '[1-2,4' and '[ "infine"' |
|
| T_BROKENRIGHT |
A sequenece of brokenrithm symbols (">") |
|
| T_BROKENLEFT |
A sequenece of brokenrithm symbols ("<") |
|
| T_SLURSTART |
The beginning of a slur. It may be dotted (".("). Forced direction as defined
by abcm2ps are supported ("('" or "(,"). |
|
| T_SLUREND |
The end point of a slur (")") |
|
| T_TIE |
The beginning of a tie. It may be dotted (".-"). Forced direction as defined
by abcm2ps are supported ("-'" or "-,"). |
|
| T_TUPLET |
A generic tuplet in the form (p:q:r as described in section 4.13. |
|
| T_USERSYMBOL |
One of the simbols that can be redefined ".~H-wh-w"(see section 4.16 and 4.14) |
|
| T_GCHORD |
A "chord symbol" as described in section 4.18 |
|
| T_ANNOTATION |
A string to be added above, below or on the staff. Any string that is not a chord is
reported as an annotation, whether the position symbols ("^_<>@") are there or not. |
|
| T_OVLRESET |
A sequence of '&' to signify the reset of voice overlay (see section 7.4). As an
extension more than one '&' is allowed. |
|
| T_OVLSTART |
This is to support a proposal to explicitly mark the beginning of the voice overlay
with "(&". It is also implemented in abcm2ps. |
|
| T_OVLEND |
This is to support a proposal to explicitly mark the end of the voice overlay
with "&)". |
|
| T_UNKNOWN |
An unrecognized character. Note that this can be used to implement the reccomendations
in section 8.1 |
|
| T_BEGINTEXT |
The field "%%begintext"
|
TEXT |
| T_BEGINHISTORY |
The field "H:"
|
HISTORY |
| T_MEASUREREPEAT | The indication to repeat previous measure ("/", "//" etc..)
| |