Changeset a0a4d01
- Timestamp:
- Dec 7, 2018, 1:28:54 AM (6 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/timestretch, fix/ffmpeg5, master
- Children:
- 85755eb
- Parents:
- 7970616
- git-author:
- Paul Brossier <piem@piem.org> (09/29/16 13:38:04)
- git-committer:
- Paul Brossier <piem@piem.org> (12/07/18 01:28:54)
- Location:
- src/effects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/effects/timestretch.h
r7970616 ra0a4d01 157 157 smpl_t aubio_timestretch_get_transpose (aubio_timestretch_t * o); 158 158 159 /** seek to a posisition the transposition of the time stretching object, in semitones 160 161 \param o time stretching object as returned by ::new_aubio_timestretch() 162 \param pos position to seek to, in frames 163 164 \return transposition of the time stretching object, in semitones 165 166 */ 167 uint_t aubio_timestretch_seek(aubio_timestretch_t * o, uint_t pos); 168 159 169 #ifdef __cplusplus 160 170 } -
src/effects/timestretch_dummy.c
r7970616 ra0a4d01 87 87 } 88 88 89 uint_t aubio_timestretch_seek(aubio_timestretch_t *o UNUSED, uint_t pos UNUSED) { 90 return AUBIO_FAIL; 91 } 89 92 // end of dummy implementation 90 93 -
src/effects/timestretch_rubberband.c
r7970616 ra0a4d01 209 209 } 210 210 211 uint_t 212 aubio_timestretch_seek (aubio_timestretch_t *p, uint_t pos) 213 { 214 p->eof = 0; 215 rubberband_reset(p->rb); 216 return aubio_source_seek(p->source, pos); 217 } 218 211 219 #endif
Note: See TracChangeset
for help on using the changeset viewer.