Optional
opts: { Optional
attributes?: Partial<SoundAttributes>Optional
contents?: SoundContentsReadonly
schemaReadonly
attributes: { Readonly
coda: { Readonly
type: "optional"Readonly
value: { Readonly
type: "string"Readonly
dacapo: { Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
dalsegno: { Readonly
type: "optional"Readonly
value: { Readonly
type: "string"Readonly
damper-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["no", "yes", 0, 1]Readonly
type: "choices"Readonly
divisions: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: numberReadonly
type: "float"Readonly
dynamics: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: 0Readonly
type: "float"Readonly
elevation: { Readonly
type: "optional"Readonly
value: { Readonly
max: 180Readonly
min: -180Readonly
type: "float"Readonly
fine: { Readonly
type: "optional"Readonly
value: { Readonly
type: "string"Readonly
forward-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
id: { Readonly
type: "optional"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: "_"Readonly
pan: { Readonly
type: "optional"Readonly
value: { Readonly
max: 180Readonly
min: -180Readonly
type: "float"Readonly
pizzicato: { Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
segno: { Readonly
type: "optional"Readonly
value: { Readonly
type: "string"Readonly
soft-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["no", "yes", 0, 1]Readonly
type: "choices"Readonly
sostenuto-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["no", "yes", 0, 1]Readonly
type: "choices"Readonly
tempo: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: 0Readonly
type: "float"Readonly
time-Readonly
type: "optional"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: "1"Readonly
tocoda: { Readonly
type: "optional"Readonly
value: { Readonly
type: "string"Readonly
contents: readonly [{ Readonly
name: "sound"Static
Readonly
schemaReadonly
attributes: { Readonly
coda: { Readonly
type: "optional"Readonly
value: { Readonly
type: "string"Readonly
dacapo: { Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
dalsegno: { Readonly
type: "optional"Readonly
value: { Readonly
type: "string"Readonly
damper-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["no", "yes", 0, 1]Readonly
type: "choices"Readonly
divisions: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: numberReadonly
type: "float"Readonly
dynamics: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: 0Readonly
type: "float"Readonly
elevation: { Readonly
type: "optional"Readonly
value: { Readonly
max: 180Readonly
min: -180Readonly
type: "float"Readonly
fine: { Readonly
type: "optional"Readonly
value: { Readonly
type: "string"Readonly
forward-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
id: { Readonly
type: "optional"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: "_"Readonly
pan: { Readonly
type: "optional"Readonly
value: { Readonly
max: 180Readonly
min: -180Readonly
type: "float"Readonly
pizzicato: { Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
segno: { Readonly
type: "optional"Readonly
value: { Readonly
type: "string"Readonly
soft-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["no", "yes", 0, 1]Readonly
type: "choices"Readonly
sostenuto-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["no", "yes", 0, 1]Readonly
type: "choices"Readonly
tempo: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: 0Readonly
type: "float"Readonly
time-Readonly
type: "optional"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: "1"Readonly
tocoda: { Readonly
type: "optional"Readonly
value: { Readonly
type: "string"Readonly
contents: readonly [{ Readonly
name: "sound"Gets
Sets
Generated using TypeDoc
The
<sound>
elementParent elements:
<direction>
,<measure>
(partwise),<part>
(timewise)The
<sound>
element contains general playback parameters. They can stand alone within a part/measure, or be a component element within a direction.Instrument changes, MIDI devices, MIDI instruments, and playback techniques are changed using the
<instrument-change>
,<midi-device>
,<midi-instrument>
, and<play>
elements. When there are multiple instances of these elements, they should be grouped together by instrument using the id attribute values.The
<offset>
element is used to indicate that the sound takes place offset from the current score position. If the<sound>
element is a child of a<direction>
element, the sound<offset>
element overrides the direction<offset>
element if both elements are present. Note that the offset reflects the intended musical position for the change in sound. It should not be used to compensate for latency issues in particular hardware configurations.https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/sound/