quantize

quantize to n bits
Author: Johannes Taelman
License: BSD
Github: math/quantize.axo

IO Variants: 2


Variant: 1

Inlets

frac32 a

Outlets

frac32 quant(a)

Attributes

spinner bits

Control Rate
outlet_b = inlet_a & (~((1 << (28 - attr_bits)) - 1));

Variant: 2

Inlets

frac32buffer a

Outlets

frac32buffer quant(a)

Attributes

spinner bits

Audio Rate
outlet_b = inlet_a & (~((1 << (28 - attr_bits)) - 1));

Privacy

© 2024 Zrna Research