|
Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
#include <waveshaper.hpp>
Public Member Functions | |
| void | set_table (const float *table) |
| Set the transfer function table (Size+1 entries with guard) | |
| float | process (float x) const |
| Process a single sample through the transfer function. | |
| void | process (float *buf, uint16_t frames) const |
| Process a block of samples in-place. | |
Definition at line 21 of file waveshaper.hpp.
|
inline |
Process a block of samples in-place.
Definition at line 50 of file waveshaper.hpp.
References sbl::dsp::Waveshaper< Size >::process().
|
inline |
Process a single sample through the transfer function.
Input [-1.0, 1.0] maps to full table range. Values outside this range are clamped.
Definition at line 34 of file waveshaper.hpp.
References sbl::dsp::lut::lookup_linear().
Referenced by sbl::dsp::Waveshaper< Size >::process().
|
inline |
Set the transfer function table (Size+1 entries with guard)
Definition at line 26 of file waveshaper.hpp.