- Timestamp:
- Apr 25, 2016, 4:45:22 PM (9 years ago)
- 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:
- 691791e
- Parents:
- c6e7ba1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/io/test-source_wavread.c
rc6e7ba1 rb4e1438 36 36 aubio_source_wavread_t * s = 37 37 new_aubio_source_wavread(source_path, samplerate, hop_size); 38 38 39 if (!s) { err = 1; goto beach; } 39 40 fvec_t *vec = new_fvec(hop_size); 41 42 uint_t n_frames_expected = aubio_source_wavread_get_duration(s); 40 43 41 44 samplerate = aubio_source_wavread_get_samplerate(s); … … 47 50 } while ( read == hop_size ); 48 51 49 PRINT_MSG("read %d frames at %dHz (%d blocks) from %s\n", n_frames, samplerate, 50 n_frames / hop_size, source_path); 52 PRINT_MSG("read %d frames (expected %d) at %dHz (%d blocks) from %s\n", 53 n_frames, n_frames_expected, samplerate, n_frames / hop_size, 54 source_path); 51 55 52 56 del_fvec (vec);
Note: See TracChangeset
for help on using the changeset viewer.