@audio/dynamics-vca
v0.2.4
Published
VCA compressor model — clean feed-forward, near-hard knee (dbx/SSL bus class)
Downloads
1,044
Readme
@audio/dynamics-vca

VCA compressor model (dbx/SSL-bus class) — clean feed-forward, near-hard knee
npm install @audio/dynamics-vcaimport 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
