Changeset 2c31bb6 for examples


Ignore:
Timestamp:
Dec 8, 2013, 5:49:02 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:
6bc52cc
Parents:
0a7f424
Message:

examples/utils.c: also print duration in seconds

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/utils.c

    r0a7f424 r2c31bb6  
    164164    } while (read == hop_size);
    165165
    166     verbmsg ("read %d samples (%d blocks of %d) from %s at %dHz\n",
     166    verbmsg ("read %.2fs (%d samples in %d blocks of %d) from %s at %dHz\n",
     167        total_read * 1. / samplerate,
    167168        total_read, blocks, hop_size, source_uri, samplerate);
    168169
Note: See TracChangeset for help on using the changeset viewer.