The channel routed through the insertion effect, 0-based.
127 or a value that's above the current channel count means OFF.
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.
Process the effect in insertion mode and overwrites it to the input. The DSP honors Dry/Wet in this case.
The input buffer to process. It always starts at index 0.
The input buffer to process. It always starts at index 0.
The amount of samples to mix. This will never be larger than SynthProcessorOptions.maxBufferSize of the parent SpessaSynthProcessor instance.
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 Insertion effects provide additional effects for processing individual Parts.
The Insertion effects are set up for Insertion routing and can be applied only to a single selected Part.
SpessaSynthProcessor currently has 4 insertion effects. More than one effect can be applied to a single Part (channel).
This is a Yamaha XG-compatible insertion interface.
It is used when GlobalMIDIParameter.system is
xg.SpessaSynthProcessor allows you to supply a custom insertion block. A custom insertion block must implement this interface.
Editing the parameters
Editing the parameters can be done via XG system exclusive messages.