Ignore:
Timestamp:
Dec 7, 2018, 1:28:57 AM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/cnn, feature/crepe, feature/timestretch, fix/ffmpeg5, master
Children:
4bb2e74
Parents:
24dc867
git-author:
Paul Brossier <piem@piem.org> (10/27/18 19:39:55)
git-committer:
Paul Brossier <piem@piem.org> (12/07/18 01:28:57)
Message:

[effects] convert warnings to error, improve messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/effects/pitchshift_rubberband.c

    r24dc867 ra77f0c6  
    114114    return AUBIO_OK;
    115115  } else {
    116     AUBIO_ERR("pitchshift: could not set pitchscale to %.2f\n", pitchscale);
     116    AUBIO_ERR("pitchshift: could not set pitchscale to '%f',"
     117        " should be in the range [0.25, 4.].\n", pitchscale);
    117118    return AUBIO_FAIL;
    118119  }
     
    132133    return aubio_pitchshift_set_pitchscale(p, pitchscale);
    133134  } else {
    134     AUBIO_ERR("pitchshift: could not set transpose to %.2f\n", transpose);
     135    AUBIO_ERR("pitchshift: could not set transpose to '%f',"
     136        " should be in the range [-24; 24.].\n", transpose);
    135137    return AUBIO_FAIL;
    136138  }
Note: See TracChangeset for help on using the changeset viewer.