|
Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
Band-limited oscillator corrections. More...
Functions | |
| float | this_blep (float t) |
| float | next_blep (float t) |
| Correction for the next sample at a step discontinuity. | |
| float | next_integrated_blep (float t) |
| float | this_integrated_blep (float t) |
| Correction for the current sample at a slope discontinuity. | |
Band-limited oscillator corrections.
PolyBLEP (Polynomial Band-Limited Step) functions adapted from Mutable Instruments Plaits/Warps (MIT license):
|
inline |
Correction for the next sample at a step discontinuity.
Definition at line 36 of file polyblep.hpp.
|
inline |
Correction for the next sample at a slope discontinuity. 4th-order polynomial: antiderivative of the quadratic BLEP. Multiply by (slope_up + slope_down) * frequency to get the actual correction.
Definition at line 46 of file polyblep.hpp.
Referenced by this_integrated_blep().
|
inline |
Correction for the current sample at a step discontinuity. t = normalized time since discontinuity (phase overshoot / frequency).
Definition at line 31 of file polyblep.hpp.
|
inline |
Correction for the current sample at a slope discontinuity.
Definition at line 54 of file polyblep.hpp.
References next_integrated_blep().