Expand description
PolyBLEP and PolyBLAMP anti-aliasing for band-limited waveform generation.
This module provides polynomial corrections to eliminate aliasing artifacts from discontinuous waveforms (sawtooth, square, pulse) and slope discontinuities (triangle).
PolyBLEP (Polynomial Band-Limited Step) smooths step discontinuities by applying a polynomial correction near the transition point. PolyBLAMP (Band-Limited rAMP) is the integrated form, used for slope discontinuities.
All functions are generic over the Sample trait for efficient f32/f64 processing.
Functionsยง
- apply_
polyblamp_ triangle - Apply PolyBLAMP corrections to a SIMD chunk of triangle samples.
- apply_
polyblep_ pulse - Apply PolyBLEP corrections to a SIMD chunk of pulse samples.
- apply_
polyblep_ saw - Apply PolyBLEP corrections to a SIMD chunk of sawtooth samples.
- apply_
polyblep_ square - Apply PolyBLEP corrections to a SIMD chunk of square samples.
- poly_
blamp - PolyBLAMP correction for slope discontinuities.
- poly_
blamp_ simd - Branchless SIMD PolyBLAMP correction for 4 phase values.
- poly_
blep - PolyBLEP correction for step discontinuities.
- poly_
blep_ simd - Branchless SIMD PolyBLEP correction for 4 phase values.
- polyblamp_
triangle - Generate a band-limited triangle wave sample using PolyBLAMP.
- polyblep_
pulse - Generate a band-limited pulse wave sample using PolyBLEP.
- polyblep_
saw - Generate a band-limited sawtooth sample using PolyBLEP.
- polyblep_
square - Generate a band-limited square wave sample using PolyBLEP.