SealedConstructs a new default GS insertion block.
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.
0-127
This parameter sets the amount of insertion sound that will be sent to the chorus. Higher values result in more sound being sent.
0-127
This parameter sets the amount of insertion sound that will be sent to the delay. Higher values result in more sound being sent.
0-127
This parameter sets the amount of insertion sound that will be sent to the reverb. Higher values result in more sound being sent.
Restores this insertion block from a snapshot.
The snapshot to restore.
Gets a snapshot of this insertion block.
Gets the current 16-bit type of the block.
The 16-bit (MSB << 8 | LSB) type requested by the last setType call.
Process the effect and adds it to the output.
The left input buffer to process. It always starts at index 0.
The right input buffer to process. It always starts at index 0.
The left output buffer.
The right output buffer.
The mono input for reverb. It always starts at index 0.
The mono input for chorus. It always starts at index 0.
The mono input for delay. It always starts at index 0.
The index to start mixing at into the output buffers.
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 EFX type and the send levels.
Sets the given EFX parameter to the given value.
The parameter number (0-based, 0-19).
The 7-bit value.
Sets the EFX type of the block.
Type change resets the parameters and the send levels to their defaults. Behavior for unsupported types is up to the implementation.
The 16-bit type value to use, MSB << 8 | LSB.
The default implementation for GSInsertionBlock.