*c hold

Multiply (attenuate) with a constant value
Author: Johannes Taelman
License: BSD
Github: lokki/math/STARc hold.axo

Inlets

frac32 input

Outlets

frac32 output

Parameters

frac32.u.map.gain amp

bool32.tgl hold

Declaration
int holdval;
Control Rate
if (!param_hold) {
  outlet_out = ___SMMUL(param_amp, inlet_in) << 1;
  holdval = outlet_out;
} else
  outlet_out = holdval;

Privacy

© 2024 Zrna Research