math scale

scales the input between 'high' and 'low'.
Author: robert schirmer
License: BSD
Github: rbrt/testing/math scale.axo

Inlets

frac32 in

Outlets

frac32 out

Attributes

spinner hi

spinner lo

Declaration
int prev;
int out;
Control Rate
if (inlet_in != prev) {
  out = parent->instancemath_i.scale(inlet_in, attr_hi, attr_lo);
  prev = inlet_in;
}

outlet_out = out;

Privacy

© 2024 Zrna Research