Changeset 6fd8d7e


Ignore:
Timestamp:
Jul 17, 2012, 12:52:00 AM (12 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:
6500367
Parents:
918f71f
Message:

src/io/source_sndfile.c: use linear resampling to make sure all output samples are created on first read

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/io/source_sndfile.c

    r918f71f r6fd8d7e  
    105105  if (s->ratio != 1) {
    106106    s->input_data = new_fvec(s->input_hop_size);
    107     s->resampler = new_aubio_resampler(s->ratio, 0);
     107    s->resampler = new_aubio_resampler(s->ratio, 4);
    108108    if (s->ratio > 1) {
    109109      // we would need to add a ring buffer for these
Note: See TracChangeset for help on using the changeset viewer.