Skip to main content

translate_intervals_and_speed

Function translate_intervals_and_speed 

Source
pub fn translate_intervals_and_speed(
    elements: &[Searched<'_>],
) -> Result<Translation>
Expand description

Notes and rests as text of the intervals between them, up to thirteen semitones either way, and whether each is as long as, shorter or longer than the one before, a space for a run of rests: music21’s translateIntervalsAndSpeed. The first note’s interval is from the first note.

§Errors

An element with no pitch that is not a rest.