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

sampleRate int

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

int

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

inputLeft ReadOnlySpan<float>

The left input buffer to process. It always starts at index 0.

inputRight ReadOnlySpan<float>

The right input buffer to process. It always starts at index 0.

outputLeft Span<float>

The left output buffer.

outputRight Span<float>

The right output buffer.

outputReverb Span<float>

The mono input for reverb. It always starts at index 0.

outputChorus Span<float>

The mono input for chorus. It always starts at index 0.

outputDelay Span<float>

The mono input for delay. It always starts at index 0.

startIndex int

The index to start mixing at into the output buffers.

sampleCount int

The 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)

Parameters

parameter int

The parameter number (0x03-0x16).

value int

The new value (0-127).