[][src]Function aubio_sys::aubio_unwrap2pi

pub unsafe extern "C" fn aubio_unwrap2pi(phase: smpl_t) -> smpl_t

compute the principal argument

This function maps the input phase to its corresponding value wrapped in the range \f$ [-\pi, \pi] \f$.

\param phase unwrapped phase to map to the unit circle

\return equivalent phase wrapped to the unit circle