The zone's generators.
The zone's key range. min -1 means that it is a default value.
The zone's modulators.
The zone's velocity range. min -1 means that it is a default value.
The current tuning in cents, taking in both coarse and fine generators. Setting this value updates both generators accordingly.
The current tuning in cents, taking in both coarse and fine generators. Setting this value updates both generators accordingly.
True if this zone has a key range explicitly set.
True if this zone has a velocity range explicitly set.
Adds to a given generator, or its default value.
The generator type.
The value to add.
If the value should be clamped to allowed limits.
Copies the parameters from another zone.
The zone to copy from.
Gets a generator value.
The generator type.
If the generator is not found, this value is returned.
A default value can be passed here, or null for example,
to check if the generator is set.
The generator value or the provided fallback value.
Sets a generator to a given value, overwriting existing one if present.
The generator type.
The value to set. Set to null to remove this generator (set as "unset").
If the value should be clamped to allowed limits.
Represents a single zone with parameters, modulators and a specified key and velocity range.