KeyData
Table of Contents
KeyData.keyNumber
- <number> - The MIDI key number.
This is a MIDI key number between 0 and 127.
KeyData.preset
- <Preset> - The preset for the key.
KeyData.instrument
- <Instrument> - The instrument for the key.
KeyData.sample
- <Sample> - The sample for the key.
KeyData.generators
- <Generator[]> - The generators for the key.
These are the preset generators merged with the instrument generators. To get the individual generators, you can use KeyData.preset.generators
or KeyData.instrument.generators
.
KeyData.modulators
- <Modulator[]> - The modulators for the key.
These are the preset modulators merged with the instrument modulators. To get the individual generators, you can use KeyData.preset.modulators
or KeyData.instrument.modulators
.