samplehold

Pass through when s_h input is less or equal than zero or hold when positive.
Author: Johannes Taelman
License: BSD
Github: logic/samplehold.axo

IO Variants: 2


Variant: 1

Inlets

frac32buffer input

frac32buffer pass through when less or equal than zero or hold when positive

Outlets

frac32buffer output

Declaration
int32_t hold;
Init
hold = 0;
Audio Rate
if (inlet_s__h <= 0)
  hold = inlet_in;
outlet_out = hold;

Variant: 2

Inlets

frac32 input

frac32 pass through when less or equal than zero or hold when positive

Outlets

frac32 output

Declaration
int32_t hold;
Init
hold = 0;
Control Rate
if (inlet_s__h <= 0)
  hold = inlet_in;
outlet_out = hold;

Privacy

© 2024 Zrna Research