Skip to main content

step_and_octave

Function step_and_octave 

Source
pub fn step_and_octave(clef: &str, position: IntegerType) -> (char, IntegerType)
Expand description

The step and octave of a staff position under a clef: music21’s getStepAndOctaveFromPosition. Position 1 under the treble clef is C5, and each position up or down is a step.