divmul i

if inlet_in<1 then inlet_in divided by inlet_half else multiply inlet_in with inlet_half
Author: philoop
License: BSD
Github: phi/math/divmul i.axo

Inlets

int32 in

int32 half

Outlets

int32 out

Control Rate
outlet_out =
    inlet_half > 0 ? inlet_in << inlet_half : inlet_in >> inlet_half * -1;

Privacy

© 2024 Zrna Research