Optional
opts: { Optional
attributes?: Partial<ClefAttributes>Optional
contents?: ClefContentsReadonly
schemaReadonly
attributes: { Readonly
additional: { Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
after-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
color: { Readonly
type: "optional"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: "#000000"Readonly
default-Readonly
label: "default-x"Readonly
type: "label"Readonly
value: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: numberReadonly
type: "float"Readonly
default-Readonly
label: "default-y"Readonly
type: "label"Readonly
value: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: numberReadonly
type: "float"Readonly
font-Readonly
type: "optional"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: " "Readonly
font-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly [{ Readonly
type: "choices"Readonly
font-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["normal", "italic"]Readonly
type: "choices"Readonly
font-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["normal", "bold"]Readonly
type: "choices"Readonly
id: { Readonly
type: "optional"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: "_"Readonly
number: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: 1Readonly
type: "int"Readonly
print-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
relative-Readonly
label: "relative-x"Readonly
type: "label"Readonly
value: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: numberReadonly
type: "float"Readonly
relative-Readonly
label: "relative-y"Readonly
type: "label"Readonly
value: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: numberReadonly
type: "float"Readonly
size: { Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["cue", "full", "grace-cue", "large"]Readonly
type: "choices"Readonly
contents: readonly [{ Readonly
name: "clef"Static
Readonly
schemaReadonly
attributes: { Readonly
additional: { Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
after-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
color: { Readonly
type: "optional"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: "#000000"Readonly
default-Readonly
label: "default-x"Readonly
type: "label"Readonly
value: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: numberReadonly
type: "float"Readonly
default-Readonly
label: "default-y"Readonly
type: "label"Readonly
value: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: numberReadonly
type: "float"Readonly
font-Readonly
type: "optional"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: " "Readonly
font-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly [{ Readonly
type: "choices"Readonly
font-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["normal", "italic"]Readonly
type: "choices"Readonly
font-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["normal", "bold"]Readonly
type: "choices"Readonly
id: { Readonly
type: "optional"Readonly
value: { Readonly
pattern: RegExpReadonly
type: "regex"Readonly
zero: "_"Readonly
number: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: 1Readonly
type: "int"Readonly
print-Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["yes", "no"]Readonly
type: "choices"Readonly
relative-Readonly
label: "relative-x"Readonly
type: "label"Readonly
value: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: numberReadonly
type: "float"Readonly
relative-Readonly
label: "relative-y"Readonly
type: "label"Readonly
value: { Readonly
type: "optional"Readonly
value: { Readonly
max: numberReadonly
min: numberReadonly
type: "float"Readonly
size: { Readonly
type: "optional"Readonly
value: { Readonly
choices: readonly ["cue", "full", "grace-cue", "large"]Readonly
type: "choices"Readonly
contents: readonly [{ Readonly
name: "clef"Gets
Sets
Generated using TypeDoc
The
<clef>
elementParent element:
<attributes>
Clefs are represented by a combination of
<sign>
,<line>
, and<clef-octave-change>
elements.Clefs appear at the start of each system unless the print-object attribute has been set to "no" or the additional attribute has been set to "yes".
https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/clef/