Table of Contents

Class MonoMakerEffect

Namespace
NAudio.Effects
Assembly
NAudio.Core.dll

Collapses low frequencies to mono while leaving higher frequencies stereo — the "bass mono" tool used to keep a mix's low end phase-coherent. Everything below Frequency is summed to the centre; above it the stereo image is untouched. Frequency changes crossfade so they do not click. Only stereo signals are affected; other channel counts pass through unchanged.

public sealed class MonoMakerEffect : AudioEffect, IAudioEffect, IParameterized
Inheritance
MonoMakerEffect
Implements
Inherited Members

Properties

Frequency

Frequencies below this (Hz) are made mono. Default 120 Hz. Values below 1 Hz are clamped to 1 Hz.

public float Frequency { get; set; }

Property Value

float

Parameters

Generic parameter list (excludes Bypass/Mix, which are on the base).

public IReadOnlyList<EffectParameter> Parameters { get; }

Property Value

IReadOnlyList<EffectParameter>

Methods

OnConfigure(WaveFormat)

Called by Configure(WaveFormat) after the format is stored. Derived effects allocate and size their sample-rate-dependent state here.

protected override void OnConfigure(WaveFormat format)

Parameters

format WaveFormat

ProcessBlock(Span<float>)

Transforms buffer in place into the fully-wet signal. The base class handles dry/wet mixing and bypass around this call.

protected override void ProcessBlock(Span<float> buffer)

Parameters

buffer Span<float>

Reset()

Clears internal state (delay lines, envelopes, smoothers) so the next block starts as if from silence.

public override void Reset()