MantissaMask

object MantissaMask extends ProductReader[MantissaMask]

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.

===Examples===

// mouse-x controls resolution
play {
 val bits = MouseX.kr(0, 12)
 MantissaMask.ar(SinOsc.ar(SinOsc.kr(0.2).mulAdd(400, 500)) * 0.4, bits)
}
Companion
class
trait Product
trait Mirror
trait ProductReader[MantissaMask]
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def ar(in: GE, bits: GE): MantissaMask
Value Params
bits

The number of mantissa bits to preserve, from 0 to 23.

in

input signal to quantize

def kr(in: GE, bits: GE): MantissaMask
Value Params
bits

The number of mantissa bits to preserve, from 0 to 23.

in

input signal to quantize

def read(in: RefMapIn, key: String, arity: Int): MantissaMask