pub fn read_spanners(
text: &str,
target: Option<usize>,
step: SpannerStep,
state: &mut SpannerState,
) -> Result<SpannersRead>Available on crate feature
musicxml only.Expand description
One of music21’s spanner-reading steps on an element – a direction
type, a <notations>, or one slur or other spanner mark – within
state, which keeps the spanners from one to the next. target, a
uid of the state’s, is the note it joins or ends a spanner with.