KeyEvent
interface KeyEvent {
uuid: string
position: number
root: number
scale: number
remove(): void
}A key change on the key track
Properties
uuid: string
readonly
Unique id
position: number
Position in PPQN, the key applies from here to the next key change
root: number
Root pitch class (0 to 11, 0 = C)
scale: number
Scale as a 12-bit mask, bit i set when the note i semitones above the root is in the scale (Major = 0b101010110101)
Methods
remove(): void
Remove the event
Returns
void