bitselector

disable 16bits of the output individually, control inlet is an andor (^) combined with the selected bits.
Author: Simon Iten
License: BSD
Github: lokki/math/bitselector.axo

Inlets

frac32buffer a

frac32.positive bitcontrol

Outlets

frac32buffer quant(a)

Parameters

bin16 bits

Audio Rate
outlet_out =
    inlet_in & (param_bits << 16 ^ ((1 << 31) - inlet_bitcontrol << 4));

Privacy

© 2024 Zrna Research