- Timestamp:
- Jan 29, 2015, 4:25:38 PM (10 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:
- fdeba11
- Parents:
- 9be906a
- Location:
- src/tempo
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tempo/tempo.c
r9be906a rdeb1fd4 151 151 } 152 152 153 smpl_t aubio_tempo_get_silence(aubio_tempo_t * o) { 154 return o->silence; 155 } 156 153 157 uint_t aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold) { 154 158 o->threshold = threshold; 155 159 aubio_peakpicker_set_threshold(o->pp, o->threshold); 156 160 return AUBIO_OK; 161 } 162 163 smpl_t aubio_tempo_get_threshold(aubio_tempo_t * o) { 164 return o->threshold; 157 165 } 158 166 -
src/tempo/tempo.h
r9be906a rdeb1fd4 94 94 uint_t aubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence); 95 95 96 /** get tempo detection silence threshold 97 98 \param o tempo detection object as returned by new_aubio_tempo() 99 100 \return current silence threshold 101 102 */ 103 smpl_t aubio_tempo_get_silence(aubio_tempo_t * o); 104 96 105 /** set tempo detection peak picking threshold 97 106 … … 103 112 */ 104 113 uint_t aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold); 114 115 /** get tempo peak picking threshold 116 117 \param o tempo detection object as returned by new_aubio_tempo() 118 119 \return current tempo detection threshold 120 121 */ 122 smpl_t aubio_tempo_get_threshold(aubio_tempo_t * o); 105 123 106 124 /** get current tempo
Note: See TracChangeset
for help on using the changeset viewer.