Table of Contents

Class TrebleEnhancerAudioEffect

Namespace
VisioForge.Core.Types.X.AudioEffects
Assembly
VisioForge.Core.dll

Boosts high-frequency content (treble) above a specified frequency threshold. Enhances clarity, presence, and "air" in audio by amplifying treble frequencies. Opposite of TrueBass effect - targets high frequencies instead of low. Implements the VisioForge.Core.Types.X.AudioEffects.BaseAudioEffect.

public class TrebleEnhancerAudioEffect : BaseAudioEffect, ISharedAudioEffectX

Inheritance

Implements

Inherited Members

Remarks

Amplifies frequencies from specified frequency up to Nyquist frequency (sample rate / 2).

Common uses: Adding sparkle to dull recordings, enhancing cymbals and hi-hats, improving vocal clarity.

Volume parameter controls amplification strength (0 = no effect, higher = more boost).

Frequency parameter sets where enhancement begins (typical: 4000-8000 Hz).

In the X engines the frequency goes up to a sixth of the sample rate (8000 Hz at 48 kHz). A higher value works at that limit and raises OnError.

Constructors

TrebleEnhancerAudioEffect(int, ushort)

Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.TrebleEnhancerAudioEffect class.

public TrebleEnhancerAudioEffect(int frequency, ushort volume)

Parameters

frequency int

Starting frequency for treble enhancement in Hz. Frequencies from this point to sample_rate/2 are amplified. Typical values: 4000-8000 Hz.

volume ushort

Amplification strength. 0 = no effect, higher values = more boost. 8000 boosts the band 20x or more, so loud material clips well below that.

Properties

Frequency

Gets or sets the starting frequency for treble enhancement in Hz.

public int Frequency { get; set; }

Property Value

int

Volume

Gets or sets the amplification strength.

public ushort Volume { get; set; }

Property Value

ushort

See Also