Skip to main content

clef_named

Function clef_named 

Source
pub fn clef_named(
    kind: &str,
    shift: Option<&str>,
) -> Result<(Clef, &'static str)>
Expand description

music21’s createClef: the clef a Type and OctaveShift name, and the name music21’s reader keeps for it as currentClef.

§Errors

An octave shift or clef music21 does not know, or a shifted alto or tenor clef.