|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
The triangular kernel over two frames, one before the event and one after: Plaits' polyBLEP. More...
The triangular kernel over two frames, one before the event and one after: Plaits' polyBLEP.
The kernel of stmlib/dsp/polyblep.h (MIT). A harmonic at f is scaled by sinc^2(f / fs). The residuals match the numeric integrals of the B-spline in test_polyblep.hpp.
Definition at line 119 of file polyblep.hpp.
#include <polyblep.hpp>
Static Public Member Functions | |
| static constexpr BlepResidual< 2 > | step (float t) |
| The residual of a unit step; at t = 0 it is {0, -1/2}. | |
| static constexpr BlepResidual< 2 > | slope (float t) |
| The residual of a unit slope change per frame. | |
Static Public Attributes | |
| static constexpr uint8_t | FRAMES = 2 |
| static constexpr uint8_t | LATENCY = 1 |
|
inlinestaticconstexpr |
The residual of a unit step; at t = 0 it is {0, -1/2}.
| t | Fraction of a frame since the event, in [0, 1) |
Definition at line 129 of file polyblep.hpp.
|
inlinestaticconstexpr |
The residual of a unit slope change per frame.
| t | Fraction of a frame since the event, in [0, 1) |
Definition at line 140 of file polyblep.hpp.
|
staticconstexpr |
Frames the kernel touches
Definition at line 120 of file polyblep.hpp.
|
staticconstexpr |
Frames before the event
Definition at line 121 of file polyblep.hpp.