hd

hold/decay envelope, audio rate
Author: Johannes Taelman
License: BSD
Github: pulse/hd.axo

Inlets

bool32.risingfalling trigger

Outlets

frac32buffer.positive envelope output

Parameters

frac32.u.map d

Declaration
int32_t val;
Init
val = 0;
Audio Rate
if (inlet_trig > 0)
  val = 1 << 27;
else
  val -= ___SMMUL(val, param_d >> 1);
outlet_env = val;

Privacy

© 2024 Zrna Research