io.musicxml.tables
tables
What MusicXML calls things and what WSMN calls them.
Every table maps a MusicXML name (an element name, a kind, a bar-style, a type of note) to the ready-made OMK symbol, so that the reader and the writer agree on one spelling in each direction. A name absent from a table is the reader’s cue to warn and mint or skip; the tests pin which of the WSMN symbols the tables cover.
Attributes
Functions
| Name | Description |
|---|---|
| tone_from_pitch | The tone a <pitch> names: step letter, chromatic alteration, MusicXML octave. |
| pitch_of_tone | The <pitch> of an octave-qualified tone: step, alter, octave. |
| normalize_words | Free text as the tables key it: trimmed, lower case, one space between words. |
| is_gradual_tempo | Whether text asks for a gradual change of tempo (rit., poco a poco accel.). |
| inverse | table the other way round; where several names share a symbol, the first is kept. |
| is_per_tone | Whether mark belongs to one tone of a chord, as a fingering does, |