Expand description
ABC notation export helpers. ABC notation format helpers.
This module intentionally stays close to reusable ABC token conversion,
similar in spirit to music21.abcFormat. Complete score layout and
application-specific snippets belong in callers.
Structs§
- Export
Options - How
to_abcwrites a score.
Functions§
- abc_
chord - Returns an ABC chord token for the supplied pitches.
- abc_
duration - Returns an ABC duration suffix for a rational note length.
- abc_
note - Returns an ABC note token for a pitch.
- abc_
rest - Returns an ABC rest token.
- from_
abc - Reads ABC text into a score: music21’s
converter.parsefor the format. - from_
abc_ number - Reads one tune out of ABC text holding several, by its
X:reference number: music21’sconverter.parse(..., number=n). - pitch_
name_ from_ abc_ note - Returns a music21-style pitch name for an ABC note token.
- pitch_
names_ from_ abc_ chord - Returns music21-style pitch names for a simple ABC chord token.
- to_abc
- Writes a score as ABC.