mul_add

Multiply and add, out = in * mul + add
Author: Are Leistad
License: BSD
Github: drj/math/mul_add.axo

IO Variants: 3


Variant: 1

Inlets

int32.bipolar Input

int32.bipolar Multiplier

int32.bipolar Addend

Outlets

int32.bipolar Output

Control Rate
outlet_out = inlet_in * inlet_mul + inlet_add;

Variant: 2

Inlets

frac32.bipolar Input

frac32.bipolar Multiplier

frac32.bipolar Addend

Outlets

frac32.bipolar Output

Control Rate
outlet_out = ___SMMUL(inlet_mul << 3 + inlet_in << 2, inlet_add);

Variant: 3

Inlets

frac32buffer.bipolar Input

frac32buffer.bipolar Multiplier

frac32buffer.bipolar Addend

Outlets

frac32buffer.bipolar Output

Audio Rate
outlet_out = ___SMMUL(inlet_mul << 3 + inlet_in << 2, inlet_add);

Privacy

© 2024 Zrna Research