ChordEvent
interface ChordEvent {
uuid: string
position: number
duration: number
degree: number
shift: number
shape: number
notes: number
inversion: number
remove(): void
}A chord on the chord track, a step of the key at its position
Properties
uuid: string
readonly
Unique id
position: number
Position in PPQN
duration: number
Duration in PPQN
degree: number
Step of the key (1 to 7)
shift: number
Lowers (-1) or raises (1) the root by a semitone (default 0)
shape: number
Fixed chord type as a 12-bit mask above the root, 0 stacks the notes from the scale (default 0)
notes: number
Notes stacked from the scale: 3 triad, 4 7th, 5 9th, 6 11th, 7 13th (default 3)
inversion: number
How many of the lowest notes move an octave up (0 to notes - 1, default 0)
Methods
remove(): void
Remove the event
Returns
void