AbstractProtectedconstructorInitializes the new XG effect block.
The map of all effect constructors to initialize.
The fallback processor in case the real processor is missing.
The default effect type.
The sample rate, in Hertz.
The maximum buffer size the synthesizer can render at once.
Attempting to .process() more samples than this will result in an error.
True for the variation and insertion blocks.
Restores this XG effect block from a snapshot.
The snapshot to restore.
Gets a snapshot of this XG effect block.
Gets the current 16-bit type of the processor.
The 16-bit ((MSB << 8) | LSB) type of the processor used.
Resets this block to default values, including the processor type.
Sets the given effect parameter to the given value.
The parameter number (0-based).
The value: 14-bit for two-byte params, 7-bit for single-byte params.
Sets the type of the processor. Per XG spec, BASIC EFFECT (LSB = 0) should be used if the exact match is missing.
Type change should reset the parameters. Fallback behavior (no BASIC EFFECT) is up to the implementation.
The 16-bit type value to use.
The default implementation for XGEffectBlock.
This class represents a single XG effect block. Each block contains a specific processor and may be an insertion or system effect. This class does the mixing and routing of the effect.