Changeset 633400d for src/onset/onset.h
- Timestamp:
- Dec 5, 2018, 10:34:39 PM (5 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 283a619a
- Parents:
- 5b46bc3 (diff), f19db54 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/onset/onset.h
r5b46bc3 r633400d 118 118 smpl_t aubio_onset_get_last_ms (const aubio_onset_t *o); 119 119 120 /** set onset detection adaptive whitening 121 122 \param o onset detection object as returned by new_aubio_onset() 123 \param enable 1 to enable, 0 to disable 124 125 \return 0 if successful, 1 otherwise 126 127 */ 128 uint_t aubio_onset_set_awhitening(aubio_onset_t * o, uint_t enable); 129 130 /** get onset detection adaptive whitening 131 132 \param o onset detection object as returned by new_aubio_onset() 133 134 \return 1 if enabled, 0 otherwise 135 136 */ 137 smpl_t aubio_onset_get_awhitening(aubio_onset_t * o); 138 139 /** set or disable log compression 140 141 \param o onset detection object as returned by new_aubio_onset() 142 \param lambda logarithmic compression factor, 0 to disable 143 144 \return 0 if successful, 1 otherwise 145 146 */ 147 uint_t aubio_onset_set_compression(aubio_onset_t *o, smpl_t lambda); 148 149 /** get onset detection log compression 150 151 \param o onset detection object as returned by new_aubio_onset() 152 153 \returns 0 if disabled, compression factor otherwise 154 155 */ 156 smpl_t aubio_onset_get_compression(aubio_onset_t *o); 157 120 158 /** set onset detection silence threshold 121 159 … … 274 312 */ 275 313 smpl_t aubio_onset_get_threshold(const aubio_onset_t * o); 314 315 /** set default parameters 316 317 \param o onset detection object as returned by new_aubio_onset() 318 \param onset_mode detection mode to adjust 319 320 This function is called at the end of new_aubio_onset(). 321 322 */ 323 uint_t aubio_onset_set_default_parameters (aubio_onset_t * o, const char_t * onset_mode); 324 325 /** reset onset detection 326 327 \param o onset detection object as returned by new_aubio_onset() 328 329 Reset current time and last onset to 0. 330 331 This function is called at the end of new_aubio_onset(). 332 333 */ 334 void aubio_onset_reset(aubio_onset_t * o); 276 335 277 336 /** delete onset detection object
Note: See TracChangeset
for help on using the changeset viewer.