Function polyblep_pulse

Source
pub fn polyblep_pulse<S: Sample>(phase: S, phase_inc: S, duty_cycle: S) -> S
Expand description

Generate a band-limited pulse wave sample using PolyBLEP.

ยงArguments

  • phase - Current normalized phase (0.0 to 1.0)
  • phase_inc - Phase increment per sample (normalized)
  • duty_cycle - Duty cycle (0.0 to 1.0)