A UGen that masks off bits in the mantissa of the floating point sample value.
This introduces a quantization noise, but is less severe than linearly
quantizing the signal.
// mouse-x controls resolution
val bits = MouseX.kr(0, 12)
MantissaMask.ar(SinOsc.ar(SinOsc.kr(0.2).madd(400, 500)) * 0.4, bits)
input signal to quantize
The number of mantissa bits to preserve, from 0 to 23.