Function polyblep_square

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

Generate a band-limited square wave sample using PolyBLEP.

ยงArguments

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