Changeset ca1abdd for src/pitch/pitch.h


Ignore:
Timestamp:
Oct 19, 2009, 10:51:59 AM (15 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:
b14107f
Parents:
9f07d52
Message:

rename aubio_pitchdetection to aubio_pitch

File:
1 moved

Legend:

Unmodified
Added
Removed
  • src/pitch/pitch.h

    r9f07d52 rca1abdd  
    1717   */
    1818
    19 #ifndef PITCHAUTOTCORR_H
    20 #define PITCHAUTOTCORR_H
     19#ifndef PITCH_H
     20#define PITCH_H
    2121
    2222#ifdef __cplusplus
     
    3434
    3535/** pitch detection object */
    36 typedef struct _aubio_pitchdetection_t aubio_pitchdetection_t;
     36typedef struct _aubio_pitch_t aubio_pitch_t;
    3737
    3838/** execute pitch detection on an input signal frame
    3939
    40   \param o pitch detection object as returned by new_aubio_pitchdetection()
     40  \param o pitch detection object as returned by new_aubio_pitch()
    4141  \param in input signal of size [hopsize x channels]
    4242  \param out output pitch candidates of size [1 x channes]
    4343
    4444*/
    45 void aubio_pitchdetection_do (aubio_pitchdetection_t * o, fvec_t * in,
     45void aubio_pitch_do (aubio_pitch_t * o, fvec_t * in,
    4646    fvec_t * out);
    4747
    4848/** change yin or yinfft tolerance threshold
    4949
    50   \param o pitch detection object as returned by new_aubio_pitchdetection()
     50  \param o pitch detection object as returned by new_aubio_pitch()
    5151  \param tol tolerance default is 0.15 for yin and 0.85 for yinfft
    5252
    5353*/
    54 uint_t aubio_pitchdetection_set_tolerance (aubio_pitchdetection_t * o,
     54uint_t aubio_pitch_set_tolerance (aubio_pitch_t * o,
    5555    smpl_t tol);
    5656
    5757/** deletion of the pitch detection object
    5858
    59   \param o pitch detection object as returned by new_aubio_pitchdetection()
     59  \param o pitch detection object as returned by new_aubio_pitch()
    6060
    6161*/
    62 void del_aubio_pitchdetection (aubio_pitchdetection_t * o);
     62void del_aubio_pitch (aubio_pitch_t * o);
    6363
    6464/** creation of the pitch detection object
     
    7171
    7272*/
    73 aubio_pitchdetection_t *new_aubio_pitchdetection (char_t * mode,
     73aubio_pitch_t * new_aubio_pitch (char_t * mode,
    7474    uint_t bufsize, uint_t hopsize, uint_t channels, uint_t samplerate);
    7575
    7676/** set the output unit of the pitch detection object
    7777
    78   \param o pitch detection object as returned by new_aubio_pitchdetection()
     78  \param o pitch detection object as returned by new_aubio_pitch()
    7979  \param mode set pitch units for output
    8080
    8181*/
    82 uint_t aubio_pitchdetection_set_unit (aubio_pitchdetection_t * o,
     82uint_t aubio_pitch_set_unit (aubio_pitch_t * o,
    8383    char_t * mode);
    8484
     
    8787#endif
    8888
    89 #endif /*PITCHDETECTION_H*/
     89#endif /*PITCH_H*/
Note: See TracChangeset for help on using the changeset viewer.