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> element corresponds to the <ensemble> element in the MusicXML score file. The element content is the application or library sound ID.

Content

xs:string

Attributes

Name Type Required?(Default) Description
number xs:NMTOKEN No Represents the size of the ensemble, corresponding to the content of the <ensemble> element in a MusicXML score file.
Represents the size of the ensemble, corresponding to the content of the <ensemble> element in a MusicXML score file.
primary yes-no No 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.
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.

Examples

This element is used in the following example:

<ensemble>