Sound Byte Libs 29c5ff3
C++ firmware library for audio applications on 32-bit ARM Cortex-M processors
Loading...
Searching...
No Matches
Functions
sbl::dsp::polyblep Namespace Reference

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.
 

Detailed Description

Band-limited oscillator corrections.

PolyBLEP (Polynomial Band-Limited Step) functions adapted from Mutable Instruments Plaits/Warps (MIT license):

Function Documentation

◆ next_blep()

float sbl::dsp::polyblep::next_blep ( float  t)
inline

Correction for the next sample at a step discontinuity.

Definition at line 36 of file polyblep.hpp.

◆ next_integrated_blep()

float sbl::dsp::polyblep::next_integrated_blep ( float  t)
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().

Here is the caller graph for this function:

◆ this_blep()

float sbl::dsp::polyblep::this_blep ( float  t)
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.

◆ this_integrated_blep()

float sbl::dsp::polyblep::this_integrated_blep ( float  t)
inline

Correction for the current sample at a slope discontinuity.

Definition at line 54 of file polyblep.hpp.

References next_integrated_blep().

Here is the call graph for this function: