damper

Dampens an audio signal by fading out the difference between samples. eg. dampens non-bandlimited saw/pulse waveforms or any other waveforms that have sudden jumps in the signal. eg. removes clicks from audio
Author: Remco van der Most
License: BSD
Github: sss/filter/damper.axo

Inlets

frac32buffer in

Outlets

frac32buffer out

Parameters

frac32.u.map damp

Declaration
int32_t prev;
int32_t offset;
Audio Rate
int32_t diff = prev - inlet_in;
offset = ___SMMUL(param_damp << 3, offset << 2) + diff;
outlet_out = offset + inlet_in;
prev = inlet_in;

Privacy

© 2024 Zrna Research