Function poly_blamp

Source
pub fn poly_blamp<S: Sample>(t: S, dt: S) -> S
Expand description

PolyBLAMP correction for slope discontinuities.

Used for triangle waves where the slope changes sign but there’s no step discontinuity. This is the integrated form of PolyBLEP.

§Arguments

  • t - Current phase (0.0 to 1.0, normalized)
  • dt - Phase increment per sample (normalized)