The grace object
Type: Dictionary
A grace object encodes grace notes. Its "content" contains the note data.
Within "content", each inner event's "value" encodes the visual rhythmic appearance of the grace note — e.g., "/8" for an eighth note.
Attributes
Name | Type | Required? | Description |
---|---|---|---|
color | No | An optional color to be used when rendering this object and all child objects. | |
An array of event objects | Yes | ||
grace type | No | The kind of grace notes to use. The default value is "stealPrevious". | |
boolean | No | Whether grace notes are notated with a slash. The default value (true) specifies a slash, indicating that the grace notes are displayed with a diagonal stroke and are to be performed quickly and not in their notated rhythm. Otherwise, they are performed with the notated note values according to the performance characteristics given by "graceType". |
|
The string "grace"
|
Yes |
Plus globally available attributes: _c, _x, id
Parent objects
This object is used by the following parent objects:
- sequence: "content"
Examples
This object is used in the following examples: