audio

@audio/dynamics-ducker0.2.0

External-sidechain compressor

External-sidechain compressor: main signal's gain is reduced in proportion

Status
pending calibration
Updated
Family
dynamics, 17 packages under it
Plugin
ducker, effect, streaming, 6 parameters
Category
effects
Licence
MIT
Dependencies
2 packages, all permissive: MIT
Downloads
3,139 last month
Tests
92 in audiojs/dynamics's CI, passed at 2ee3ad9,

Parameters

  • effect
  • streaming
  • key input
threshold
−30 dB
−60 to 0 dB
ratio
4
1 to 20
knee
6 dB
0 to 24 dB
range
−24 dB
−90 to 0 dB
attack
20 ms
0.1 to 200 ms
release
300 ms
1 to 2000 ms
import ducker from '@audio/dynamics-ducker'

External-sidechain compressor. Main signal's gain tracks the level of a separate side signal.

import ducker from '@audio/dynamics-ducker'

// batch
let podcast = ducker(music, voice, { threshold: -30, range: -12 })

// streaming — callable takes (main, side); call with no args to flush
let duck = ducker({ threshold: -30, range: -15 })
let out1 = duck(musicBlock1, voiceBlock1)
let out2 = duck(musicBlock2, voiceBlock2)
let tail = duck()
Param Default
threshold -30 dB (on side level)
ratio 4 —
knee 6 dB
range -24 dB, max reduction
attack 20 ms
release 300 ms

Use when: music-under-voice podcasts, dialogue ducking, sidechain-pumped mixes.
Not for: sidechain from the same signal — use compressor.


Part of @audio/dynamics — the dynamics family umbrella. This README is generated from the umbrella docs.

MIT © audiojs