- Timestamp:
- Oct 16, 2009, 4:16:42 AM (15 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- f1b925e
- Parents:
- 6338636
- Location:
- src/tempo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tempo/tempo.c
r6338636 r0a257a6 87 87 } 88 88 89 voidaubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence) {89 uint_t aubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence) { 90 90 o->silence = silence; 91 return ;91 return AUBIO_OK; 92 92 } 93 93 94 voidaubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold) {94 uint_t aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold) { 95 95 o->threshold = threshold; 96 96 aubio_peakpicker_set_threshold(o->pp, o->threshold); 97 return ;97 return AUBIO_OK; 98 98 } 99 99 -
src/tempo/tempo.h
r6338636 r0a257a6 45 45 46 46 /** set tempo detection silence threshold */ 47 voidaubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence);47 uint_t aubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence); 48 48 49 49 /** set tempo detection peak picking threshold */ 50 voidaubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold);50 uint_t aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold); 51 51 52 52 /** get current tempo
Note: See TracChangeset
for help on using the changeset viewer.