module

Emerald::Docs::PREMIUM_FEATURES::AudioEqualizer

10-Band Graphic Equalizer

Executive Summary & Key Topics

Topic Method / Anchor Description
Overview .topic_01_overview 10-band audio graphic equalizer introduction.
Standard Presets .topic_02_standard_presets Applying pre-configured equalizer curves.
Manual Equalizer Tuning .topic_03_manual_equalizer_tuning Configuring custom preamp and frequency band amplification.

Class methods

topic_01_overview

Overview: 10-band audio graphic equalizer introduction.

Emerald incorporates LibVLC's 10-band audio graphic equalizer covering 60 Hz to 16 kHz. It comes pre-loaded with 18 standard industry presets and supports manual preamp and per-band tuning.

Source
topic_02_standard_presets

Standard Presets: Applying pre-configured equalizer curves.

Available presets: Flat, Classical, Club, Dance, FullBass, FullBassTreble, FullTreble, Headphones, LargeHall, Live, Party, Pop, Reggae, Rock, Ska, Soft, SoftRock, Techno, Vocal.

# Apply preset on VideoPlayer or AudioPlayer
player.set_equalizer_preset("Rock")
Source
topic_03_manual_equalizer_tuning

Manual Equalizer Tuning: Configuring custom preamp and frequency band amplification.

eq = Emerald::VLC::Equalizer.new
eq.preamp = 3.0_f32 # Boost overall preamp by +3 dB

# Boost 60 Hz bass band by +6.0 dB
eq.set_amp(0_u32, 6.0_f32)

# Reduce 16 kHz treble by -2.0 dB
eq.set_amp(9_u32, -2.0_f32)

# Apply custom equalizer to player
vlc_player.equalizer = eq
Source