Class Effect.InsertionProcessor
- Namespace
- SpessaSharp.Synthesizer.Engine.Effects
- Assembly
- SpessaSharp.dll
public abstract class Effect.InsertionProcessor
- Inheritance
-
Effect.InsertionProcessor
- Derived
- Inherited Members
Properties
SendLevelToChorus
0-1 (floating point)
This parameter sets the amount of insertion sound that will be sent to the chorus.
Higher values result in more sound being sent.
public float SendLevelToChorus { get; set; }
Property Value
SendLevelToDelay
0-1 (floating point)
This parameter sets the amount of insertion sound that will be sent to the delay.
Higher values result in more sound being sent.
public float SendLevelToDelay { get; set; }
Property Value
SendLevelToReverb
0-1 (floating point)
This parameter sets the amount of insertion sound that will be sent to the reverb.
Higher values result in more sound being sent.
public float SendLevelToReverb { get; set; }
Property Value
Type
The EFX type of this processor, stored as MSB shl | LSB. For example 0x30, 0x10 is 0x3010
public abstract 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 abstract 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 abstract void Reset()
SetParameter(int, int)
Sets an EFX parameter.
public abstract void SetParameter(int parameter, int value)