i radio 4 r

positive integer control, horizontal radio buttons inlet 'reset' resets control to zero
Author: Robert Schirmer
License: BSD
Github: rbrt/control/i radio 4 r.axo

Inlets

bool32.rising reset

Outlets

int32.positive output

Parameters

int32.hradio value

int32.hradio reset

Declaration
bool ntrig;
Control Rate
outlet_out = param_value;

if (inlet_reset && (!ntrig))
  PExParameterChange(&parent->PExch[PARAM_INDEX_attr_legal_name_value],
                     param_reset, 0xFFFD);

if (inlet_reset)
  ntrig = 1;
else
  ntrig = 0;

Privacy

© 2024 Zrna Research