Changeset fb5bd55
- Timestamp:
- Sep 29, 2016, 2:23:58 PM (8 years ago)
- Branches:
- sampler, timestretch
- Children:
- b4ad853
- Parents:
- 0d4228d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/effects/timestretch_rubberband.c
r0d4228d rfb5bd55 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.