Function bliss_audio_aubio_rs::unwrap_2pi[][src]

pub fn unwrap_2pi(phase: Smpl) -> Smpl
Expand description

Compute the principal argument

This function maps the input phase to its corresponding value wrapped in the range -π ..= π.

  • phase Unwrapped phase to map to the unit circle

Returns equivalent phase wrapped to the unit circle