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').slew()
// "Local Forecast" by Kevin MacLeod (incompetech.com), CC BY 4.0, incompetech.com/music/royalty-free/faq.html
Parameters
rise- 1000
- 10 to 20000
fall- 1000
- 10 to 20000
import slewLimiter from '@audio/effect-slew'
Clips the derivative — limits how fast the signal can change.
rise maximum rise rate in units/second (default 1000) · fall maximum fall rate (default 1000) · fs sample rate
import slewLimiter from '@audio/effect-slew'
let p = { rise: 5000, fall: 5000, fs: 44100 }
for (let buf of stream) slewLimiter(buf, p)
Use when: click removal, smoothing control signals, limiting slew on CVs
Not for: dynamic range control
Part of @audio/effect — the effect family umbrella. This README is generated from the umbrella docs.
MIT © audiojs