Skip to main content

read_default_instrument

Function read_default_instrument 

Source
pub fn read_default_instrument(text: &str) -> Result<(Instrument, Vec<Error>)>
Available on crate feature musicxml only.
Expand description

music21’s getDefaultInstrument: the instrument a <score-part> names, before the part’s own names are put on it, and what music21 warns of as it reads it.