Changeset 212da72 for swig/aubio.i


Ignore:
Timestamp:
Dec 3, 2007, 10:57:52 AM (17 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:
45f1f06
Parents:
dddf1f5 (diff), 6913434 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge from main branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/aubio.i

    rdddf1f5 r212da72  
    8686
    8787/* filter */
    88 extern aubio_filter_t * new_aubio_filter(uint_t samplerate, uint_t order);
    89 extern aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate);
    90 extern aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate);
     88extern aubio_filter_t * new_aubio_filter(uint_t samplerate, uint_t order, uint_t channels);
    9189extern void aubio_filter_do(aubio_filter_t * b, fvec_t * in);
    9290extern void aubio_filter_do_outplace(aubio_filter_t * b, fvec_t * in, fvec_t * out);
    9391extern void aubio_filter_do_filtfilt(aubio_filter_t * b, fvec_t * in, fvec_t * tmp);
    94 /*extern int del_aubio_filter(aubio_filter_t * b);*/
     92extern void del_aubio_filter(aubio_filter_t * b);
     93
     94extern aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate, uint_t channels);
     95extern void aubio_adsgn_filter_do(aubio_filter_t * b, fvec_t * in);
     96extern void del_aubio_adsgn_filter(aubio_filter_t * b);
     97
     98extern aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate, uint_t channels);
     99extern void aubio_cdsgn_filter_do(aubio_filter_t * b, fvec_t * in);
     100extern void del_aubio_cdsgn_filter(aubio_filter_t * b);
    95101
    96102/* biquad */
     
    168174
    169175/* scale */
    170 extern aubio_scale_t * new_aubio_scale(smpl_t flow, smpl_t fhig, smpl_t ilow, smpl_t ihig       );
     176extern aubio_scale_t * new_aubio_scale(smpl_t flow, smpl_t fhig, smpl_t ilow, smpl_t ihig);
    171177extern void aubio_scale_set (aubio_scale_t *s, smpl_t ilow, smpl_t ihig, smpl_t olow, smpl_t ohig);
    172178extern void aubio_scale_do(aubio_scale_t *s, fvec_t * input);
     
    214220        aubio_pitch_schmitt,
    215221        aubio_pitch_fcomb,
    216         aubio_pitch_yinfft
     222        aubio_pitch_yinfft
    217223} aubio_pitchdetection_type;
    218224
     
    231237
    232238aubio_pitchdetection_t * new_aubio_pitchdetection(uint_t bufsize,
    233                 uint_t hopsize,
    234                 uint_t channels,
    235                 uint_t samplerate,
    236                 aubio_pitchdetection_type type,
    237                 aubio_pitchdetection_mode mode);
     239    uint_t hopsize,
     240    uint_t channels,
     241    uint_t samplerate,
     242    aubio_pitchdetection_type type,
     243    aubio_pitchdetection_mode mode);
    238244
    239245
     
    263269aubio_pickpeak_t * new_aubio_peakpicker(smpl_t threshold);
    264270uint_t aubio_peakpick_pimrt(fvec_t * DF, aubio_pickpeak_t * p);
     271uint_t aubio_peakpick_pimrt_wt( fvec_t* DF, aubio_pickpeak_t* p, smpl_t* peakval );
    265272smpl_t aubio_peakpick_pimrt_getval(aubio_pickpeak_t* p);
    266 uint_t aubio_peakpick_pimrt_wt( fvec_t* DF, aubio_pickpeak_t* p, smpl_t* peakval );
    267273void del_aubio_peakpicker(aubio_pickpeak_t * p);
     274void aubio_peakpicker_set_threshold(aubio_pickpeak_t * p, smpl_t threshold);
     275smpl_t aubio_peakpicker_get_threshold(aubio_pickpeak_t * p);
    268276
    269277/* transient/steady state separation */
     
    475483sint_t aubio_midi_player_join(aubio_midi_player_t* player);
    476484sint_t aubio_track_send_events(aubio_track_t* track,
    477 /*  aubio_synth_t* synth, */
    478                            aubio_midi_player_t* player,
    479                            uint_t ticks);
     485    /*  aubio_synth_t* synth, */
     486    aubio_midi_player_t* player,
     487    uint_t ticks);
    480488sint_t aubio_midi_send_event(aubio_midi_player_t* player, aubio_midi_event_t* event);
    481489
Note: See TracChangeset for help on using the changeset viewer.