delta

pseudo derivative, difference between previous and current value
Author: Johannes Taelman
License: BSD
Github: filter/delta.axo

IO Variants: 3


Variant: 1

Inlets

frac32 a

Outlets

frac32 a(t) - a(t-1)

Declaration
int32_t _ap;
Init
_ap = 0;
Control Rate
outlet_d = inlet_a - _ap;
_ap = inlet_a;

Variant: 2

Inlets

frac32buffer a

Outlets

frac32buffer a(t) - a(t-1)

Declaration
int32_t _ap;
Init
_ap = 0;
Audio Rate
outlet_d = inlet_a - _ap;
_ap = inlet_a;

Variant: 3

Inlets

int32 a

Outlets

int32 a(t) - a(t-1)

Declaration
int32_t _ap;
Init
_ap = 0;
Control Rate
outlet_d = inlet_a - _ap;
_ap = inlet_a;

Privacy

© 2024 Zrna Research