Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/pitch/pitchyin.h

    r3ac7cb0 rfbc5544  
    1919*/
    2020
    21 /** \file 
    22  
     21/** \file
     22
    2323  Pitch detection using the YIN algorithm
    24  
     24
    2525  This algorithm was developped by A. de Cheveigne and H. Kawahara and
    2626  published in:
    27  
     27
    2828  De Cheveigné, A., Kawahara, H. (2002) "YIN, a fundamental frequency
    29   estimator for speech and music", J. Acoust. Soc. Am. 111, 1917-1930. 
    30  
     29  estimator for speech and music", J. Acoust. Soc. Am. 111, 1917-1930.
     30
    3131  see http://recherche.ircam.fr/equipes/pcm/pub/people/cheveign.html
     32
     33  \example pitch/test-pitchyin.c
    3234
    3335*/
     
    4446
    4547/** creation of the pitch detection object
    46  
    47   \param buf_size size of the input buffer to analyse 
    48  
     48
     49  \param buf_size size of the input buffer to analyse
     50
    4951*/
    5052aubio_pitchyin_t *new_aubio_pitchyin (uint_t buf_size);
    5153
    5254/** deletion of the pitch detection object
    53  
    54   \param p pitch detection object as returned by new_aubio_pitchyin()
    55  
     55
     56  \param o pitch detection object as returned by new_aubio_pitchyin()
     57
    5658*/
    5759void del_aubio_pitchyin (aubio_pitchyin_t * o);
    5860
    59 /** execute pitch detection on an input buffer
    60  
    61   \param p pitch detection object as returned by new_aubio_pitchyin()
    62   \param input input signal window (length as specified at creation time)
    63   \param tol tolerance parameter for minima selection [default 0.85]
    64  
     61/** execute pitch detection an input buffer
     62
     63  \param o pitch detection object as returned by new_aubio_pitchyin()
     64  \param samples_in input signal vector (length as specified at creation time)
     65  \param cands_out pitch period candidates, in samples
     66
    6567*/
    66 void aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t * in, fvec_t * out);
     68void aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t * samples_in, fvec_t * cands_out);
    6769
    6870
    69 /** set tolerance parameter for YIN algorithm 
    70  
    71   \param o YIN pitch detection object 
     71/** set tolerance parameter for YIN algorithm
     72
     73  \param o YIN pitch detection object
    7274  \param tol tolerance parameter for minima selection [default 0.15]
    7375
     
    7577uint_t aubio_pitchyin_set_tolerance (aubio_pitchyin_t * o, smpl_t tol);
    7678
    77 /** get tolerance parameter for YIN algorithm 
    78  
    79   \param o YIN pitch detection object 
     79/** get tolerance parameter for YIN algorithm
     80
     81  \param o YIN pitch detection object
    8082  \return tolerance parameter for minima selection [default 0.15]
    8183
     
    8789#endif
    8890
    89 #endif /*PITCHYIN_H*/ 
     91#endif /*PITCHYIN_H*/
Note: See TracChangeset for help on using the changeset viewer.