ratioVCAI

Set Ratio between incoming and outgoing value
Author: Remco van der Most
License: BSD
Github: sss/math/ratioVCAI.axo

Inlets

int32 in

int32.positive Multiply

int32.positive Divide

int32.bipolar power

Outlets

int32 out

Control Rate
if (inlet_power >= 0)
  outlet_out = ((int32_t)(inlet_in * inlet_Multiply / inlet_Divide))
               << inlet_power;
if (inlet_power < 0)
  outlet_out =
      ((int32_t)(inlet_in * inlet_Multiply / inlet_Divide)) >> -inlet_power;

Privacy

© 2024 Zrna Research