hd

hold/decay envelope
Author: Johannes Taelman
License: BSD
Github: env/hd.axo

Inlets

bool32.risingfalling trigger

Outlets

frac32.positive envelope output

Parameters

frac32.s.map d

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

Privacy

© 2024 Zrna Research