return AUBIO_OK;
}
+smpl_t aubio_tempo_get_silence(aubio_tempo_t * o) {
+ return o->silence;
+}
+
uint_t aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold) {
o->threshold = threshold;
aubio_peakpicker_set_threshold(o->pp, o->threshold);
return AUBIO_OK;
}
+smpl_t aubio_tempo_get_threshold(aubio_tempo_t * o) {
+ return o->threshold;
+}
+
/* Allocate memory for an tempo detection */
aubio_tempo_t * new_aubio_tempo (char_t * tempo_mode,
uint_t buf_size, uint_t hop_size, uint_t samplerate)
*/
uint_t aubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence);
+/** get tempo detection silence threshold
+
+ \param o tempo detection object as returned by new_aubio_tempo()
+
+ \return current silence threshold
+
+*/
+smpl_t aubio_tempo_get_silence(aubio_tempo_t * o);
+
/** set tempo detection peak picking threshold
\param o beat tracking object
*/
uint_t aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold);
+/** get tempo peak picking threshold
+
+ \param o tempo detection object as returned by new_aubio_tempo()
+
+ \return current tempo detection threshold
+
+*/
+smpl_t aubio_tempo_get_threshold(aubio_tempo_t * o);
+
/** get current tempo
\param o beat tracking object