Skip to main content

convert_to_pitch

Function convert_to_pitch 

Source
pub fn convert_to_pitch(name: &str) -> Result<Pitch>
Expand description

A pitch from its name: music21’s convertToPitch, which raises a ValueError rather than a pitch error for a name it cannot read.