|
Sound Byte Libs 0.5.1-121-g3358a44
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Definition at line 25 of file bit_reducer.hpp.
#include <bit_reducer.hpp>
Public Member Functions | |
| void | set_bits (float bits) |
| float | bits () const |
| float | process (float x) const |
| Process a single sample. | |
| void | process (float *buf, uint16_t n) const |
| Process a block of samples in-place. | |
|
inline |
Set quantization depth in bits. Fractional values allowed. Caches the level count internally.
Definition at line 29 of file bit_reducer.hpp.
References bits().
Referenced by sbl::dsp::comp::BitCrusher::process().
|
inline |
Definition at line 35 of file bit_reducer.hpp.
Referenced by set_bits().
|
inline |
Process a single sample.
Definition at line 38 of file bit_reducer.hpp.
Referenced by sbl::dsp::comp::BitCrusher::process(), and process().
|
inline |
Process a block of samples in-place.
Definition at line 43 of file bit_reducer.hpp.
References process().