Changeset 4b1e7e7 for src


Ignore:
Timestamp:
Dec 13, 2005, 12:52:11 PM (18 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:
61680aa
Parents:
acf2ec07
Message:

update documentation
update documentation

Location:
src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/beattracking.c

    racf2ec07 r4b1e7e7  
    7171        aubio_beattracking_t * p = AUBIO_NEW(aubio_beattracking_t);
    7272        uint_t i        = 0;
    73         smpl_t rayparam = 48./512. * winlen;
     73        /* parameter for rayleigh weight vector - sets preferred tempo to
     74         * 120bpm [43] */
     75        smpl_t rayparam = 48./512. * winlen;
    7476        smpl_t dfwvnorm = EXP((LOG(2.0)/rayparam)*(winlen+2));
     77        /** length over which beat period is found [128] */
    7578        uint_t laglen   = winlen/4;
    76         uint_t step     = winlen/4; /* 1.5 seconds */
     79        /** step increment - both in detection function samples -i.e. 11.6ms or
     80         * 1 onset frame [128] */
     81        uint_t step     = winlen/4; /* 1.5 seconds */
    7782
    7883        p->rayparam = rayparam;
  • src/beattracking.h

    racf2ec07 r4b1e7e7  
    3131/**
    3232 * create beat tracking object
    33  * \param frame size [512]
    34  * \param step increment - both in detection function samples -i.e. 11.6ms or 1 onset frame [128]
    35  * \param length over which beat period is found [128]
    36  * \param parameter for rayleigh weight vector - sets preferred tempo to 120bpm [43]
    37  * \param channel number (not functionnal) [1] */
    38 aubio_beattracking_t * new_aubio_beattracking(uint_t winlen,
    39                 uint_t channels);
    40 /**
    41  * track the beat
    42  * \param beat tracking object
    43  * \param current input detection function frame. already smoothed by adaptive median threshold.
    44  * \param stored tactus candidate positions
     33 * \param winlen: frame size [512]
     34 * \param channels number (not functionnal) [1] */
     35aubio_beattracking_t * new_aubio_beattracking(uint_t winlen, uint_t channels);
     36/** track the beat
     37 * \param bt beat tracking object
     38 * \param dfframes current input detection function frame. already smoothed by
     39 * adaptive median threshold.
     40 * \param out stored tactus candidate positions
    4541 */
    4642void aubio_beattracking_do(aubio_beattracking_t * bt, fvec_t * dfframes, fvec_t * out);
    4743/**
    4844 * delete beat tracker object
     45 * \param p beat tracking object
    4946 */
    5047void del_aubio_beattracking(aubio_beattracking_t * p);
  • src/peakpick.c

    racf2ec07 r4b1e7e7  
    3737        /** pre: median filter window (anti-causal part) [post-1] */
    3838        uint_t  win_pre;                               
    39         /**     threshfn: name or handle of fn for computing adaptive threshold [@median]  */
     39        /** threshfn: name or handle of fn for computing adaptive threshold [median]  */
    4040        aubio_thresholdfn_t thresholdfn;
    41         /**     picker:   name or handle of fn for picking event times [@peakpick] */
     41        /** picker: name or handle of fn for picking event times [peakpick] */
    4242        aubio_pickerfn_t pickerfn;
    4343
  • src/resample.h

    racf2ec07 r4b1e7e7  
    4343/**
    4444 * resample input in output
     45 * \param s resampler object
    4546 * \param input input buffer of size N
    4647 * \param output output buffer of size N*ratio
Note: See TracChangeset for help on using the changeset viewer.