Changeset d897aae for src/tempo


Ignore:
Timestamp:
Feb 16, 2016, 3:43:14 PM (8 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:
fb5838a
Parents:
d7f3c88
Message:

src/spectral, src/onset, src/tempo: make sure win_size > 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tempo/tempo.c

    rd7f3c88 rd897aae  
    174174    AUBIO_ERR("tempo: got hop size %d, but can not be < 1\n", hop_size);
    175175    goto beach;
    176   } else if ((sint_t)buf_size < 1) {
    177     AUBIO_ERR("tempo: got window size %d, but can not be < 1\n", buf_size);
     176  } else if ((sint_t)buf_size < 2) {
     177    AUBIO_ERR("tempo: got window size %d, but can not be < 2\n", buf_size);
    178178    goto beach;
    179179  } else if (buf_size < hop_size) {
Note: See TracChangeset for help on using the changeset viewer.