Skip to main content

set_earliest_attributes_and_clefs

Function set_earliest_attributes_and_clefs 

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

music21’s setEarliestAttributesAndClefsPartStaff: the first staff’s first <attributes> told how many staves there are, given a clef for each, and, where they differ across the staves, a key and a meter for each.

§Errors

More clefs than staves.