aubio_unwrap2pi method

double aubio_unwrap2pi(
  1. double phase
)

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

Implementation

double aubio_unwrap2pi(
  double phase,
) {
  return _aubio_unwrap2pi(
    phase,
  );
}