Ignore:
Timestamp:
Oct 8, 2009, 7:46:46 PM (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:
e5757cf
Parents:
6fc103d
Message:

src/pitch/pitchfcomb.c: update prototypes, make multichannel, remove unneeded samplerate parameter, now returns bin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pitch/pitchfcomb.h

    r6fc103d r8040cca  
    4646  \param p pitch detection object as returned by new_aubio_pitchfcomb
    4747  \param input input signal window (length as specified at creation time)
     48  \param output pitch candidates in bins
    4849 
    4950*/
    50 smpl_t aubio_pitchfcomb_do (aubio_pitchfcomb_t *p, fvec_t * input);
     51void aubio_pitchfcomb_do (aubio_pitchfcomb_t *p, fvec_t * input, fvec_t * output);
    5152/** creation of the pitch detection object
    5253 
    5354  \param bufsize size of the input buffer to analyse
    5455  \param hopsize step size between two consecutive analysis instant
    55   \param samplerate sampling rate of the signal
     56  \param channels number of channels to detect pitch on
    5657 
    5758*/
    58 aubio_pitchfcomb_t * new_aubio_pitchfcomb (uint_t bufsize, uint_t hopsize, uint_t samplerate);
     59aubio_pitchfcomb_t * new_aubio_pitchfcomb (uint_t bufsize, uint_t hopsize, uint_t channels);
    5960/** deletion of the pitch detection object
    6061 
Note: See TracChangeset for help on using the changeset viewer.