audio

@audio/dynamics-vca0.3.0

VCA compressor model

VCA compressor model — clean feed-forward, near-hard knee (dbx/SSL bus class)

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

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

  • effect
  • streaming
  • key input
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