Changeset 28d8c4a for src/mathutils.h


Ignore:
Timestamp:
Aug 9, 2005, 12:09:36 PM (19 years ago)
Author:
Paul Brossier <piem@altern.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:
5e9c68a
Parents:
ea865c9
Message:

prefix mathutils function with aubio_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mathutils.h

    rea865c9 r28d8c4a  
    104104        aubio_win_welch,
    105105        aubio_win_parzen
    106 } aubio_window_type_t;
     106} aubio_window_type;
    107107
    108108/** create window */
    109 void window(smpl_t *w, uint_t size, aubio_window_type_t wintype);
     109void aubio_window(smpl_t *w, uint_t size, aubio_window_type wintype);
    110110
    111111/** principal argument
     
    113113 * mod(phase+PI,-TWO_PI)+PI
    114114 */
    115 smpl_t unwrap2pi (smpl_t phase);
     115smpl_t aubio_unwrap2pi (smpl_t phase);
    116116
    117117/** calculates the mean of a vector
     
    225225 *    \param pf is the floating point index [0;2]
    226226 */
    227 smpl_t quadfrac(smpl_t s0, smpl_t s1, smpl_t s2, smpl_t pf);
     227smpl_t aubio_quadfrac(smpl_t s0, smpl_t s1, smpl_t s2, smpl_t pf);
    228228
    229229/** returns 1 if X1 is a peak and positive */
    230230uint_t vec_peakpick(fvec_t * input, uint_t pos);
    231231
    232 smpl_t bintomidi(smpl_t bin, smpl_t samplerate, smpl_t fftsize);
    233 smpl_t bintofreq(smpl_t bin, smpl_t samplerate, smpl_t fftsize);
    234 smpl_t freqtomidi(smpl_t freq);
     232smpl_t aubio_bintomidi(smpl_t bin, smpl_t samplerate, smpl_t fftsize);
     233smpl_t aubio_bintofreq(smpl_t bin, smpl_t samplerate, smpl_t fftsize);
     234smpl_t aubio_freqtomidi(smpl_t freq);
    235235
    236236uint_t aubio_silence_detection(fvec_t * ibuf, smpl_t threshold);
Note: See TracChangeset for help on using the changeset viewer.