Changeset 47e067b


Ignore:
Timestamp:
Oct 15, 2013, 10:37:14 PM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
f69e3bd
Parents:
c0fe2a9
Message:

src/tempo/tempo.c, src/onset/onset.c: fix _get_last_ms

Location:
src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/onset/onset.c

    rc0fe2a9 r47e067b  
    9393smpl_t aubio_onset_get_last_ms (aubio_onset_t *o)
    9494{
    95   return aubio_onset_get_last_s (o) / 1000.;
     95  return aubio_onset_get_last_s (o) * 1000.;
    9696}
    9797
  • src/tempo/tempo.c

    rc0fe2a9 r47e067b  
    113113smpl_t aubio_tempo_get_last_ms (aubio_tempo_t *o)
    114114{
    115   return aubio_tempo_get_last_s (o) / 1000.;
     115  return aubio_tempo_get_last_s (o) * 1000.;
    116116}
    117117
Note: See TracChangeset for help on using the changeset viewer.