Changeset 284fe8a for src/effects/timestretch.h
- Timestamp:
- Dec 7, 2018, 1:28:55 AM (6 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/timestretch, fix/ffmpeg5, master
- Children:
- e7d4aa0
- Parents:
- 4559863
- git-author:
- Paul Brossier <piem@piem.org> (11/28/16 14:30:40)
- git-committer:
- Paul Brossier <piem@piem.org> (12/07/18 01:28:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/effects/timestretch.h
r4559863 r284fe8a 64 64 /** creation of the time stretching object 65 65 66 \param uri path to create the source from67 66 \param method time stretching algorithm ("default") 68 67 \param stretch initial time stretching factor … … 73 72 74 73 */ 75 aubio_timestretch_t *new_aubio_timestretch (const char_t * uri, 76 const char_t * method, smpl_t stretch, uint_t hop_size, uint_t samplerate); 74 aubio_timestretch_t *new_aubio_timestretch (const char_t * method, 75 smpl_t stretch, uint_t hop_size, uint_t samplerate); 76 77 /** push length samples from in to time stretching object 78 79 \param o time stretching object as returned by ::new_aubio_timestretch() 80 \param in input vector of new samples to push to time stretching object 81 \param length number of new samples to push from input vector 82 83 \return number of currently available samples 84 85 */ 86 sint_t aubio_timestretch_push(aubio_timestretch_t * o, fvec_t *in, uint_t length); 87 88 /** get number of currently available samples from time stretching object 89 90 \param o time stretching object as returned by ::new_aubio_timestretch() 91 92 \return number of currently available samples 93 94 */ 95 sint_t aubio_timestretch_get_available(aubio_timestretch_t * o); 77 96 78 97 /** get the latency of the time stretching object, in samples … … 157 176 smpl_t aubio_timestretch_get_transpose (aubio_timestretch_t * o); 158 177 159 /** seek to a posisition the transposition of the time stretching object, in semitones178 /** reset the time stretching object 160 179 161 180 \param o time stretching object as returned by ::new_aubio_timestretch() 162 \param pos position to seek to, in frames163 181 164 \return transposition of the time stretching object, in semitones182 \return 0 on success, non-zero otherwise 165 183 166 184 */ 167 uint_t aubio_timestretch_seek(aubio_timestretch_t * o, uint_t pos); 168 169 uint_t aubio_timestretch_queue (aubio_timestretch_t *p, const char_t *uri, uint_t samplerate); 170 171 uint_t aubio_timestretch_get_opened (aubio_timestretch_t *p); 185 uint_t aubio_timestretch_reset(aubio_timestretch_t * o); 172 186 173 187 #ifdef __cplusplus
Note: See TracChangeset
for help on using the changeset viewer.