pyabc2.Note.from_abc¶
- classmethod Note.from_abc(abc, *, key=Key(tonic=C, mode='Major'), octave_base=4, unit_duration=Fraction(1, 8))¶
Parse ABC string to note.
The default context is:
C major
octave 4
eighth note unit duration
but this can be adjusted using the keyword arguments.