Class StereoEQFX
- Namespace
- SpessaSharp.Synthesizer.Engine.Effects.Insertion
- Assembly
- SpessaSharp.dll
Stereo-EQ
This is a four-band stereo equalizer (low, mid x 2, high).
Type: Stereo
public sealed class StereoEQFX : Effect.InsertionProcessor
- Inheritance
-
StereoEQFX
- Inherited Members
Constructors
StereoEQFX(int)
public StereoEQFX(int sampleRate)
Parameters
sampleRateint
Properties
Type
The EFX type of this processor, stored as MSB shl | LSB. For example 0x30, 0x10 is 0x3010
public override int Type { get; }
Property Value
Methods
Process(ReadOnlySpan<float>, ReadOnlySpan<float>, Span<float>, Span<float>, Span<float>, Span<float>, Span<float>, int, int)
Process the effect and ADDS it to the output.
public override void Process(ReadOnlySpan<float> inputLeft, ReadOnlySpan<float> inputRight, Span<float> outputLeft, Span<float> outputRight, Span<float> outputReverb, Span<float> outputChorus, Span<float> outputDelay, int startIndex, int sampleCount)
Parameters
inputLeftReadOnlySpan<float>The left input buffer to process. It always starts at index 0.
inputRightReadOnlySpan<float>The right input buffer to process. It always starts at index 0.
outputLeftSpan<float>The left output buffer.
outputRightSpan<float>The right output buffer.
outputReverbSpan<float>The mono input for reverb. It always starts at index 0.
outputChorusSpan<float>The mono input for chorus. It always starts at index 0.
outputDelaySpan<float>The mono input for delay. It always starts at index 0.
startIndexintThe index to start mixing at into the output buffers.
sampleCountintThe amount of samples to mix.
Reset()
Resets the params to their default values. This does not need to reset send levels.
public override void Reset()
SetParameter(int, int)
Sets an EFX parameter.
public override void SetParameter(int parameter, int value)