audio

@audio/effect-slew1.1.6

Rate-of-change limiter

Status
calibrated
Updated
Family
effect, 26 packages under it
Plugin
slew, effect, streaming, 2 parameters
Category
effects
Licence
MIT
Dependencies
none
Downloads
2,234 last month
Tests
138 in audiojs/effect's CI, passed at 5ff5a84,

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

  • effect
  • streaming
  • tail
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