Function apply_polyblep_pulse

Source
pub fn apply_polyblep_pulse<S: Sample>(
    samples: &mut [S; 4],
    phases: [S; 4],
    phase_inc: S,
    duty_cycle: S,
)
Expand description

Apply PolyBLEP corrections to a SIMD chunk of pulse samples.

Uses branchless SIMD for both rising (phase=0) and falling (phase=duty_cycle) edges.