|
Sound Byte Libs 0.5.1-340-gab5b79a
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
|
The cubic B-spline over four frames, two before the event and two after. More...
The cubic B-spline over four frames, two before the event and two after.
From Valimaki, Pekonen and Nam (2012), Table VII, and Esqueda, Valimaki and Bilbao (2016), Table 1. A harmonic at f is scaled by sinc^4(f / fs). The residuals match the numeric integrals of the B-spline in test_polyblep.hpp.
Definition at line 61 of file polyblep.hpp.
#include <polyblep.hpp>
Static Public Member Functions | |
| static constexpr BlepResidual< 4 > | step (float t) |
| The residual of a unit step. | |
| static constexpr BlepResidual< 4 > | slope (float t) |
| The residual of a unit slope change per frame. | |
Static Public Attributes | |
| static constexpr uint8_t | FRAMES = 4 |
| static constexpr uint8_t | LATENCY = 2 |
|
inlinestaticconstexpr |
The residual of a unit step.
At t = 0 the residual is {0, 1/24, -1/2, -1/24}: the step response at integer offsets, less the step.
| t | Fraction of a frame since the event, in [0, 1) |
Definition at line 73 of file polyblep.hpp.
|
inlinestaticconstexpr |
The residual of a unit slope change per frame.
Non-negative: a smoothed convex corner lies above the naive one on both sides.
| t | Fraction of a frame since the event, in [0, 1) |
Definition at line 95 of file polyblep.hpp.
|
staticconstexpr |
Frames the kernel touches
Definition at line 62 of file polyblep.hpp.
|
staticconstexpr |
Frames before the event
Definition at line 63 of file polyblep.hpp.