#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. | |
| float_type | iscale |
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
| SPUC::qnoise< Numeric >::qnoise | ( | char | h | ) | [inline] |
Quantize and limit signal to size bits Constructor
| complex<Numeric> SPUC::qnoise< Numeric >::operator() | ( | complex< Numeric > | x | ) | [inline] |
| Numeric SPUC::qnoise< Numeric >::operator() | ( | Numeric | x | ) | [inline] |
| Numeric SPUC::qnoise< Numeric >::quant | ( | Numeric | x | ) | [inline] |
float_type SPUC::qnoise< Numeric >::iscale [protected] |
float_type SPUC::qnoise< Numeric >::scale [protected] |
Number of bits <= 255.
char SPUC::qnoise< Numeric >::size [protected] |
1.4.7