The note object
Type: Dictionary
The note object defines a single note within an event, along with other information pertaining to the note itself rather than to its containing event.
Keys:
Name | Type | Required? | Description |
---|---|---|---|
accidental display object | No | Information about the displayed accidental for this note. If this MNX document has "useAccidentalDisplay" set to true in its top-level "mnx" object's "supports" object, this "accidentalDisplay" key is required for any note that has a displayed accidental. If "useAccidentalDisplay" is missing or set to false, notes must not include "accidentalDisplay". |
|
style class object | No | ||
id object | No | ||
perform options object | No | Controls whether this note is performed by consuming software. | |
pitch object | Yes | The note's sounded pitch. | |
smufl font object | No | The SMuFL-compliant font to be used when rendering this note. The primary purpose of this attribute is to override a global font assignment. |
|
staff number object | No | A specific staff index for this note. If not provided, the value is inherited from any ancestor element that specified it. If no ancestor did so, the value is determined automatically according to the implementation’s rendering rules. The primary purpose of this attribute is to override a default staff assignment at the sequence or event level — as in cross-staff keyboard notation. |
|
tie object | No |
Examples
This object is used in the following examples: