Skip to main content

octave_repeating

Function octave_repeating 

Source
pub fn octave_repeating(
    steps: &[Interval],
) -> Result<(Vec<Interval>, IntervalNetwork)>
Expand description

music21’s AbstractOctaveRepeatingScale steps and network: the steps completed to an octave by the interval left over, or respelled to close on the tonic where they already span twelve semitones. Steps past the octave make a network that does not repeat at it.

§Errors

No steps, or a step that cannot move a pitch.