Changeset fd99f0d
- Timestamp:
- Dec 7, 2018, 1:24:18 AM (6 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/timestretch, fix/ffmpeg5, master
- Children:
- c2e3f44
- Parents:
- c41637b
- git-author:
- Paul Brossier <piem@piem.org> (09/29/16 13:22:22)
- git-committer:
- Paul Brossier <piem@piem.org> (12/07/18 01:24:18)
- Location:
- src/effects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/effects/timestretch.h
rc41637b rfd99f0d 85 85 uint_t aubio_timestretch_get_latency (aubio_timestretch_t * o); 86 86 87 /** get the samplerate of the time stretching object 88 89 Call after new_aubio_timestretch() was called with 0 to match the original 90 samplerate of the input file. 91 92 \param o time stretching object as returned by new_aubio_timestretch() 93 94 \return samplerate of the time stretching object 95 96 */ 97 uint_t aubio_timestretch_get_samplerate (aubio_timestretch_t * o); 98 87 99 /** set the stretching ratio of the time stretching object 88 100 -
src/effects/timestretch_dummy.c
rc41637b rfd99f0d 66 66 } 67 67 68 uint_t aubio_timestretch_get_samplerate (aubio_timestretch_t * o UNUSED) { 69 return 0; 70 } 71 68 72 smpl_t aubio_timestretch_get_pitchscale (aubio_timestretch_t * o UNUSED) 69 73 { -
src/effects/timestretch_rubberband.c
rc41637b rfd99f0d 119 119 } 120 120 121 uint_t 122 aubio_timestretch_get_samplerate (aubio_timestretch_t * p) 123 { 124 return p->samplerate; 125 } 126 121 127 uint_t aubio_timestretch_get_latency (aubio_timestretch_t * p) { 122 128 return rubberband_get_latency(p->rb);
Note: See TracChangeset
for help on using the changeset viewer.