Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pitch/pitchschmitt.h

    r3ac7cb0 r69b11d8  
    1919*/
    2020
    21 /** \file 
     21/** \file
    2222
    23    Pitch detection using a Schmitt trigger 
    24  
     23   Pitch detection using a Schmitt trigger
     24
    2525   This pitch extraction method implements a Schmitt trigger to estimate the
    2626   period of a signal.
     
    2828   This file was derived from the tuneit project, written by Mario Lang to
    2929   detect the fundamental frequency of a sound.
    30    
    31    see http://delysid.org/tuneit.html
     30
     31   See http://delysid.org/tuneit.html
     32
     33   \example pitch/test-pitchschmitt.c
    3234
    3335*/
     
    4345typedef struct _aubio_pitchschmitt_t aubio_pitchschmitt_t;
    4446
    45 /** execute pitch detection on an input buffer 
    46  
    47   \param p pitch detection object as returned by new_aubio_pitchschmitt 
    48   \param input input signal window (length as specified at creation time)
    49   \param output pitch period estimates, in samples
    50  
     47/** execute pitch detection on an input buffer
     48
     49  \param p pitch detection object as returned by new_aubio_pitchschmitt
     50  \param samples_in input signal vector (length as specified at creation time)
     51  \param cands_out pitch period estimates, in samples
     52
    5153*/
    52 void aubio_pitchschmitt_do (aubio_pitchschmitt_t * p, fvec_t * in,
    53     fvec_t * out);
     54void aubio_pitchschmitt_do (aubio_pitchschmitt_t * p, fvec_t * samples_in,
     55    fvec_t * cands_out);
    5456
    5557/** creation of the pitch detection object
    56  
    57   \param buf_size size of the input buffer to analyse 
    58  
     58
     59  \param buf_size size of the input buffer to analyse
     60
    5961*/
    6062aubio_pitchschmitt_t *new_aubio_pitchschmitt (uint_t buf_size);
    6163
    6264/** deletion of the pitch detection object
    63  
    64   \param p pitch detection object as returned by new_aubio_pitchschmitt 
    65  
     65
     66  \param p pitch detection object as returned by new_aubio_pitchschmitt
     67
    6668*/
    6769void del_aubio_pitchschmitt (aubio_pitchschmitt_t * p);
Note: See TracChangeset for help on using the changeset viewer.