Expand description
Metronome marks and tempo-word conventions.
Metronome marks, a port of the stream-free part of music21’s tempo.
Structs§
- Metronome
Mark - A metronome marking: a beats-per-minute number, a tempo word, and the note value the number counts.
Constants§
- DEFAULT_
TEMPO_ VALUES - The tempo words music21 knows and the beats per minute each implies, in music21’s order.
Functions§
- convert_
tempo_ by_ referent - Converts a tempo counted in one note value into the same tempo counted in another, both given in quarter lengths.
- default_
number_ for_ text - Returns the beats per minute music21 pairs with a tempo word, matching the whole text case-insensitively first and any single word of it second.
- default_
text_ for_ number - Returns the tempo word music21 pairs with a beats-per-minute value, when one lies within two beats of it. Ties go to the lower value, then the alphabetically earlier word, as music21 sorts them.