MusicXML 4.1 Draft
MusicXML 4.1 Draft > Sounds Reference > Elements > The <ensemble> element

The <ensemble> element

Parent element: <sound>

The solo and ensemble elements are used when an application has different IDs for solo and ensemble sounds, as represented by the solo and ensemble elements in a MusicXML score file. The ensemble type corresponds to the ensemble element in the MusicXML score file. The element content is the application or library sound ID.

The number attribute for the ensemble element represents the size of the ensemble, corresponding to the content of the ensemble element in a MusicXML score file.

Multiple solo and ensemble elements can be used when multiple application sounds map to the same MusicXML sound id. The primary attribute indicates which ensemble element is primary when mapping from a MusicXML sound id.

Content

xs:string

Attributes

Name Type Required? Description
number xs:NMTOKEN No
primary yes-no No

Examples

This element is used in the following examples:

<ensemble><ensemble>