Changeset 1789b0c for ext/midi


Ignore:
Timestamp:
Sep 17, 2009, 7:22:34 AM (15 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:
5b1fff7
Parents:
4369cb9
Message:

ext/midi/midi_player.c: use AUBIO_LSMP_FMT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ext/midi/midi_player.c

    r4369cb9 r1789b0c  
    350350  player->deltatime = (lsmp_t) tempo / player->division; /* in microseconds */
    351351
    352   AUBIO_DBG("Tempo Change: %d tempo=%f tick time=%f msec\n",
     352  AUBIO_DBG("Tempo Change: %d tempo=%f tick time=" AUBIO_LSMP_FMT " msec\n",
    353353  //    player->usec_passed, 60.*1.e6/tempo, player->deltatime);
    354       player->usec_passed, 60.*1.e6/tempo, 1e-3*player->deltatime);
     354      player->usec_passed, 60.*1.e6/tempo, 1.e-3*player->deltatime);
    355355 
    356356  return AUBIO_OK;
Note: See TracChangeset for help on using the changeset viewer.