SPUC
3.0
|
class to add quantization noise to signal More...
#include <qnoise.h>
Public Member Functions | |
qnoise (char h) | |
Numeric | quant (Numeric x) |
Numeric | operator() (Numeric x) |
complex< Numeric > | operator() (complex< Numeric > x) |
Protected Attributes | |
char | size |
float_type | scale |
Number of bits <= 255. More... | |
float_type | iscale |
class to add quantization noise to signal
Bit width is specified in constructor. Default is 8 bits. add quantization noise but does not change underlying type of input for fundamental types Handles real and complex samples
|
inline |
Quantize and limit signal to size bits Constructor
References SPUC::qnoise< Numeric >::scale.
|
inline |
|
inline |
|
inline |
Referenced by SPUC::qnoise< Numeric >::operator()(), and SPUC::qnoise< complex< T > >::operator()().
|
protected |
|
protected |
Number of bits <= 255.
Referenced by SPUC::qnoise< Numeric >::qnoise(), and SPUC::qnoise< complex< T > >::qnoise().
|
protected |