Expand description
Metronome marks and tempo-word conventions.
Metronome marks, a port of the stream-free part of music21’s tempo.
Structs§
- Metric
Modulation - A change of tempo written as an equation between two metronome marks:
music21’s
MetricModulation. - Metronome
Mark - A metronome marking: a beats-per-minute number, a tempo word, and the note value the number counts.
- Tempo
Text - A tempo said in words and not in numbers: music21’s
TempoText.
Enums§
- Modulation
Side - Which side of a
MetricModulationsomething is on: the mark in force before it, or the mark after. music21 calls them'left'and'right'.
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.
- interpolate_
elements - Carries what lies between two points of one stream into another, keeping
each thing’s place between them: music21’s
interpolateElements. - interpolated_
offset - Where a thing standing at
offsetin the source lands in the destination, the same proportion of the way between the two points: the arithmetic ofinterpolate_elements, for a caller that moves things of its own. - is_
common_ tempo_ text - Whether
textreads as a tempo, asTempoText::is_common_tempo_textasks it.