Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tempo/tempo.h

    r7efeffd rc25d5b5  
    1919*/
    2020
    21 /** \file
    22 
     21/** \file 
     22 
    2323  Tempo detection object
    2424
     
    4040typedef struct _aubio_tempo_t aubio_tempo_t;
    4141
    42 /** create tempo detection object
    43 
    44   \param buf_size length of FFT
    45   \param hop_size number of frames between two consecutive runs
    46   \param samplerate sampling rate of the signal to analyze
    47 
    48   \return newly created ::aubio_tempo_t if successful, `NULL` otherwise
    49 
    50 */
    51 aubio_tempo_t * new_aubio_tempo (char_t * method,
     42/** create tempo detection object */
     43aubio_tempo_t * new_aubio_tempo (char_t * method,
    5244    uint_t buf_size, uint_t hop_size, uint_t samplerate);
    5345
    54 /** execute tempo detection
    55 
    56   \param o beat tracking object
    57   \param input new samples
    58   \param tempo output beats
    59 
    60 */
     46/** execute tempo detection */
    6147void aubio_tempo_do (aubio_tempo_t *o, fvec_t * input, fvec_t * tempo);
    6248
    63 /** set tempo detection silence threshold
    64 
    65   \param o beat tracking object
    66   \param threshold new silence threshold, in dB
    67 
    68   \return `0` if successful, non-zero otherwise
    69 
    70 */
     49/** set tempo detection silence threshold  */
    7150uint_t aubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence);
    7251
    73 /** set tempo detection peak picking threshold
    74 
    75   \param o beat tracking object
    76   \param threshold new threshold
    77 
    78   \return `0` if successful, non-zero otherwise
    79 
    80 */
     52/** set tempo detection peak picking threshold  */
    8153uint_t aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold);
    8254
    8355/** get current tempo
    8456
    85   \param o beat tracking object
     57  \param bt beat tracking object
    8658
    87   \return the currently observed tempo, or `0` if no consistent value is found
     59  Returns the currently observed tempo, or 0 if no consistent value is found
    8860
    8961*/
    90 smpl_t aubio_tempo_get_bpm(aubio_tempo_t * o);
     62smpl_t aubio_tempo_get_bpm(aubio_tempo_t * bt);
    9163
    9264/** get current tempo confidence
    9365
    94   \param o beat tracking object
     66  \param bt beat tracking object
    9567
    96   \return confidence with which the tempo has been observed, `0` if no
     68  Returns the confidence with which the tempo has been observed, 0 if no
    9769  consistent value is found.
    9870
    9971*/
    100 smpl_t aubio_tempo_get_confidence(aubio_tempo_t * o);
     72smpl_t aubio_tempo_get_confidence(aubio_tempo_t * bt);
    10173
    102 /** delete tempo detection object
    103 
    104   \param o beat tracking object
    105 
    106 */
     74/** delete tempo detection object */
    10775void del_aubio_tempo(aubio_tempo_t * o);
    10876
Note: See TracChangeset for help on using the changeset viewer.