Changeset 85755eb
- Timestamp:
- Dec 7, 2018, 1:28:54 AM (6 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/timestretch, fix/ffmpeg5, master
- Children:
- 456a784
- Parents:
- a0a4d01
- git-author:
- Paul Brossier <piem@piem.org> (09/29/16 14:23:58)
- git-committer:
- Paul Brossier <piem@piem.org> (12/07/18 01:28:54)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/effects/timestretch_rubberband.c
ra0a4d01 r85755eb 32 32 33 33 #define MIN_STRETCH_RATIO 0.025 34 #define MAX_STRETCH_RATIO 10.34 #define MAX_STRETCH_RATIO 40. 35 35 36 36 /** generic time stretching structure */ … … 134 134 if (stretch >= MIN_STRETCH_RATIO && stretch <= MAX_STRETCH_RATIO) { 135 135 p->stretchratio = stretch; 136 rubberband_set_time_ratio(p->rb, p->stretchratio);136 rubberband_set_time_ratio(p->rb, 1./p->stretchratio); 137 137 return AUBIO_OK; 138 138 } else {
Note: See TracChangeset
for help on using the changeset viewer.