Auto-wah — envelope follower drives resonant bandpass cutoff
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').autowah()
// "Local Forecast" by Kevin MacLeod (incompetech.com), CC BY 4.0, incompetech.com/music/royalty-free/faq.html
Parameters
base- 300 Hz
- 50 to 1000 Hz
range- 3000 Hz
- 100 to 6000 Hz
Q- 5
- 0.5 to 20
attack- 0.002 s
- 0.0005 to 0.05 s
release- 0.1 s
- 0.01 to 1 s
sens- 2
- 0.5 to 10
import autoWah from '@audio/effect-autowah'
Envelope follower drives a resonant bandpass filter — signal level controls the sweep.
base minimum cutoff Hz (default 300) · range sweep range Hz (default 3000) · Q resonance (default 5) · attack envelope attack seconds (default 0.002) · release envelope release seconds (default 0.1) · sens input sensitivity multiplier (default 2) · fs sample rate
import autoWah from '@audio/effect-autowah'
let p = { base: 300, range: 3000, Q: 5, sens: 2, fs: 44100 }
for (let buf of stream) autoWah(buf, p)
Use when: funk guitar, touch-sensitive filter sweeps, envelope filter
Not for: LFO-driven wah (use wah with mode: 'auto')
Part of @audio/effect — the effect family umbrella. This README is generated from the umbrella docs.
MIT © audiojs