Skip to content

Custom Audio Tuner & DSP Matrix

Overview

The {tune} and {eq} parsers give server administrators and users complete access to Lavalink’s digital signal processing (DSP) audio pipeline.


15-Band Equalizer Mechanics

Lavalink divides the human audible spectrum into 15 distinct frequency bands:

Band IndexCenter FrequencyAudio CharacterRecommended Boost / Cut
Band 025 HzSub-Bass (Deep Rumble)0.15 to 0.35 for EDM/Trap
Band 140 HzDeep Bass (Kick Drums)0.15 to 0.30
Band 263 HzPunchy Bass (Bass Guitar)0.10 to 0.25
Band 3100 HzWarmth / Upper Bass0.05 to 0.15
Band 4160 HzLow Midrange (Snare Body)-0.05 to 0.10
Band 5250 HzMidrange Body0.0 (Neutral)
Band 6400 HzVocals Low Fundaments0.0 (Neutral)
Band 7630 HzMid Vocal Presence0.05 for vocal clarity
Band 81.0 kHzLead Instruments & Presence0.05 to 0.10
Band 91.6 kHzHigh Midrange (Vocal Bite)0.10
Band 102.5 kHzCrispness & Attack0.10 to 0.15
Band 114.0 kHzPresence & Definition0.15
Band 126.3 kHzTreble / High Shimmer0.20
Band 1310.0 kHzHigh Treble & Air0.20 to 0.30
Band 1416.0 kHzUltra High Brilliance0.15 to 0.25

Gain Scale

  • Gain values range from -0.25 (Complete attenuation / -100% mute) to 1.0 (+100% amplification).
  • Setting 0.0 represents neutral flat response.

The {tune} Parser Syntax

Syntax 1: Multi-Key Key-Value String

{tune:speed=0.85, pitch=0.85, lowpass=20, 8d=0.25}

Syntax 2: Parameterized Modifiers

  • {tune(speed):1.25} β€” Playback speed multiplier (0.1 to 3.0).
  • {tune(pitch):1.3} β€” Audio pitch multiplier (0.1 to 3.0).
  • {tune(rate):0.9} β€” Sample rate multiplier (0.1 to 3.0).
  • {tune(bass):0.85} β€” Low-end equalizer boost (-0.25 to 1.0).
  • {tune(treble):0.5} β€” High-end equalizer boost (-0.25 to 1.0).
  • {tune(8d):0.25} β€” 8D audio rotation frequency in Hz (0.01 to 5.0).
  • {tune(lowpass):20} β€” LowPass smoothing cutoff (1 to 100).

15-Band Array Syntax ({eq})

Pass gain multipliers separated by commas across all 15 bands:

<!-- Bass + Treble Boost Curve -->
{eq:0.3, 0.25, 0.2, 0.1, 0, 0, 0, 0, 0, 0, 0, 0.1, 0.2, 0.25, 0.3}

Timescale DSP Formulas

Acoustic ProfileSpeedPitchRateLowPass
Nightcore1.251.301.00Disabled
Slowed + Reverb0.850.851.0020
Vaporwave0.800.751.00Disabled
Chipmunk1.101.801.00Disabled
Darth Vader0.900.601.00Disabled
Double Time2.001.001.00Disabled