lp1 st

1st order lowpass filter stereo
Author: Johannes Taelman
License: BSD
Github: phi/filter/lp1 st.axo

Inlets

frac32buffer input

frac32buffer inr

Outlets

frac32buffer output

frac32buffer output

Parameters

frac32.s.map.pitch freq

Declaration
int32_t vall;
int32_t valr;
Init
vall = 0;
valr = 0;
Control Rate
int32_t f;
MTOF(param_freq, f);
Audio Rate
vall = ___SMMLA((inlet_inl - vall) << 1, f, vall);
outlet_outl = vall;

valr = ___SMMLA((inlet_inr - valr) << 1, f, valr);
outlet_outr = valr;

Privacy

© 2024 Zrna Research