ReadonlyglobalInstrument's global zone. Its parameters are overridden by the local zone parameters.
ReadonlylinkedInstrument's linked presets (the presets that use it).
The name of this instrument.
The instrument's local zones. These are limited to specific key/velocity ranges and contain associated samples.
How many presets is this instrument used by.
Creates a new instrument zone, adds it to this instrument and returns it.
The sample to associate with the zone.
Deletes a given instrument zone if it has no uses.
The index of the zone to delete.
Force deletes the zone instead of the safe deletion.
True if the zone has been deleted, false otherwise.
Globalizes the instrument in-place. This means trying to move as many generators and modulators to the global zone as possible to reduce clutter and the count of parameters.
If fully successful, this should have no effect on the audio produced.
Unlinks the instrument from a given preset.
The preset to unlink from.
This class represents a single instrument, a layer below the BasicPreset.