VCA compressor model — clean feed-forward, near-hard knee (dbx/SSL bus class)
Listen
// "Local Forecast" by Kevin MacLeod (incompetech.com), CC BY 4.0, incompetech.com/music/royalty-free/faq.html
audio('/samples/music/modern/local-forecast.mp3').vca()
// "Local Forecast" by Kevin MacLeod (incompetech.com), CC BY 4.0, incompetech.com/music/royalty-free/faq.html
Parameters
threshold- −20 dB
- −60 to 0 dB
ratio- 4
- 1 to 20
knee- 1 dB
- 0 to 12 dB
attack- 1 ms
- 0.1 to 100 ms
release- 150 ms
- 20 to 2000 ms
makeup- 0 dB
- −12 to 24 dB
link- 0
- 0 to 1
VCA compressor model (dbx/SSL-bus class) — clean feed-forward, near-hard knee
import vca from '@audio/dynamics-vca'
Clean feed-forward peak-detecting compressor after dbx/SSL-bus VCA topology: precise dB-linear gain computation, near-hard 1 dB knee, fast 1 ms attack. The transparent workhorse of the family — same compressorGain curve as compressor, tuned for speed and neutrality rather than character.
vca(data, { threshold: -20, ratio: 4 }) // batch
vca(data) // defaults
let write = vca({ threshold: -20, ratio: 4 }) // streaming
let out1 = write(block1)
let tail = write() // flush
| Param | Default | |
|---|---|---|
threshold |
-20 |
dB |
ratio |
4 |
— |
knee |
1 |
dB (near-hard) |
attack |
1 |
ms |
release |
150 |
ms |
makeup |
0 |
dB |
sampleRate |
44100 |
Hz (alias fs) |
Use when: mix bus glue, precise transparent gain reduction without coloration.
Not for: vintage character — use opto or varimu.
Part of @audio/dynamics — the dynamics family umbrella.
MIT © audiojs