Ignore:
Timestamp:
Mar 3, 2013, 4:44:18 AM (12 years ago)
Author:
Paul Brossier <piem@piem.org>
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:
b173ca1
Parents:
f72364d
Message:

src/*/*.h: add link to examples, remove trailing spaces, improve documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pitch/pitchyin.h

    rf72364d r69b11d8  
    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
    3232
     
    4444
    4545/** creation of the pitch detection object
    46  
    47   \param buf_size size of the input buffer to analyse 
    48  
     46
     47  \param buf_size size of the input buffer to analyse
     48
    4949*/
    5050aubio_pitchyin_t *new_aubio_pitchyin (uint_t buf_size);
    5151
    5252/** deletion of the pitch detection object
    53  
    54   \param p pitch detection object as returned by new_aubio_pitchyin()
    55  
     53
     54  \param o pitch detection object as returned by new_aubio_pitchyin()
     55
    5656*/
    5757void del_aubio_pitchyin (aubio_pitchyin_t * o);
    5858
    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  
     59/** execute pitch detection an input buffer
     60
     61  \param o pitch detection object as returned by new_aubio_pitchyin()
     62  \param samples_in input signal vector (length as specified at creation time)
     63  \param cands_out pitch period candidates, in samples
     64
    6565*/
    66 void aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t * in, fvec_t * out);
     66void aubio_pitchyin_do (aubio_pitchyin_t * o, fvec_t * samples_in, fvec_t * cands_out);
    6767
    6868
    69 /** set tolerance parameter for YIN algorithm 
    70  
    71   \param o YIN pitch detection object 
     69/** set tolerance parameter for YIN algorithm
     70
     71  \param o YIN pitch detection object
    7272  \param tol tolerance parameter for minima selection [default 0.15]
    7373
     
    7575uint_t aubio_pitchyin_set_tolerance (aubio_pitchyin_t * o, smpl_t tol);
    7676
    77 /** get tolerance parameter for YIN algorithm 
    78  
    79   \param o YIN pitch detection object 
     77/** get tolerance parameter for YIN algorithm
     78
     79  \param o YIN pitch detection object
    8080  \return tolerance parameter for minima selection [default 0.15]
    8181
     
    8787#endif
    8888
    89 #endif /*PITCHYIN_H*/ 
     89#endif /*PITCHYIN_H*/
Note: See TracChangeset for help on using the changeset viewer.