Skip to main content

join_staves

Function join_staves 

Source
pub fn join_staves<T: XmlTree>(
    parts: &mut [T],
    differences: StaffDifferences,
) -> Result<()>
Available on crate feature musicxml only.
Expand description

music21’s movePartStaffMeasureContents, setEarliestAttributesAndClefs and the staff tags before them: the staves of parts, first to last, joined into the first.

§Errors

A child that has a <staff> already, measures whose numbers cannot be put in order, more clefs than staves.