Table of Contents

Class GraphicEqualizer

Namespace
NAudio.Effects
Assembly
NAudio.Core.dll

A graphic equaliser: a fixed set of ISO-standard peaking bands over the Equalizer engine, exposing one gain per band. Setting a band gain retunes click-free.

public sealed class GraphicEqualizer : Equalizer, IAudioEffect
Inheritance
GraphicEqualizer
Implements
Inherited Members

Constructors

GraphicEqualizer(GraphicEqualizerLayout)

Creates a graphic equaliser with the given band layout, all gains flat.

public GraphicEqualizer(GraphicEqualizerLayout layout = GraphicEqualizerLayout.TenBandOctave)

Parameters

layout GraphicEqualizerLayout

Properties

BandCount

Number of bands.

public int BandCount { get; }

Property Value

int

Methods

GetBandGain(int)

The gain in decibels of the band at index.

public float GetBandGain(int index)

Parameters

index int

Returns

float

GetCentreFrequency(int)

Centre frequency (Hz) of the band at index.

public float GetCentreFrequency(int index)

Parameters

index int

Returns

float

SetBandGain(int, float)

Sets the gain in decibels of the band at index and applies it (click-free).

public void SetBandGain(int index, float gainDb)

Parameters

index int
gainDb float