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.


One or more of the following


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.


This element is used in the following examples:

<any>, <ensemble>, <solo>, <sound>