Changeset d04875c for src


Ignore:
Timestamp:
Feb 16, 2016, 5:51:10 PM (9 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:
4bf3731
Parents:
6ab6611
Message:

src/pitch/pitch.c: fix name in error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pitch/pitch.c

    r6ab6611 rd04875c  
    133133  // check parameters are valid
    134134  if ((sint_t)hopsize < 1) {
    135     AUBIO_ERR("onset: got hopsize %d, but can not be < 1\n", hopsize);
     135    AUBIO_ERR("pitch: got hopsize %d, but can not be < 1\n", hopsize);
    136136    goto beach;
    137137  } else if ((sint_t)bufsize < 1) {
    138     AUBIO_ERR("onset: got buffer_size %d, but can not be < 1\n", bufsize);
     138    AUBIO_ERR("pitch: got buffer_size %d, but can not be < 1\n", bufsize);
    139139    goto beach;
    140140  } else if (bufsize < hopsize) {
    141     AUBIO_ERR("onset: hop size (%d) is larger than win size (%d)\n", bufsize, hopsize);
     141    AUBIO_ERR("pitch: hop size (%d) is larger than win size (%d)\n", bufsize, hopsize);
    142142    goto beach;
    143143  } else if ((sint_t)samplerate < 1) {
    144     AUBIO_ERR("onset: samplerate (%d) can not be < 1\n", samplerate);
     144    AUBIO_ERR("pitch: samplerate (%d) can not be < 1\n", samplerate);
    145145    goto beach;
    146146  }
Note: See TracChangeset for help on using the changeset viewer.