aubio_onset_get_last_s method

double aubio_onset_get_last_s(
  1. Pointer<_aubio_onset_t> o
)

get the time of the latest onset detected, in seconds

\param o onset detection object as returned by new_aubio_onset()

\return onset detection timestamps (in seconds)

Implementation

double aubio_onset_get_last_s(
  ffi.Pointer<_aubio_onset_t> o,
) {
  return _aubio_onset_get_last_s(
    o,
  );
}