The <sound> element
Parent element: <sounds>
The <sound> element lists one of the standard sounds available in MusicXML 4.0. The optional <any>, <solo>, and <ensemble> elements can be used for mapping MusicXML sound IDs to an application's or virtual instrument library's method of identifying sounds. These methods could include Sibelius SoundWorld IDs, capella genericsound IDs, and General MIDI patch numbers.
Content
One or more of the following- <any> (Zero or more times)
-
In this order
- <solo> (Zero or more times)
- <ensemble> (Zero or more times)
Attributes
Name | Type | Required? | Description |
---|---|---|---|
id | ID | Yes | The MusicXML sound identifier string used by the <instrument-sound> element in a score file. |
primary | yes-no | No | Used when multiple <sound> elements map to the same application or library ID. In this case, it indicates which of the MusicXML IDs is primary when mapping to a MusicXML sound id. |
Examples
This element is used in the following examples: