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, ISharedAudioEffectXInheritance
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).
Constructors
TrebleEnhancerAudioEffect(int, ushort)
Initializes a new instance of the VisioForge.Core.Types.X.AudioEffects.TrebleEnhancerAudioEffect class.
public TrebleEnhancerAudioEffect(int frequency, ushort volume)Parameters
frequencyint-
Starting frequency for treble enhancement in Hz. Frequencies from this point to sample_rate/2 are amplified. Typical values: 4000-8000 Hz.
volumeushort-
Amplification strength. 0 = no effect, higher values = more boost. Maximum recommended: 10000.
Properties
Frequency
Gets or sets the starting frequency for treble enhancement in Hz.
public int Frequency { get; set; }Property Value
Volume
Gets or sets the amplification strength.
public ushort Volume { get; set; }