Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • swig/aubio.i

    ra7667ce rc7f32b1  
    8686
    8787/* filter */
    88 extern aubio_filter_t * new_aubio_filter(uint_t samplerate, uint_t order, uint_t channels);
     88extern aubio_filter_t * new_aubio_filter(uint_t samplerate, uint_t order);
     89extern aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate);
     90extern aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate);
    8991extern void aubio_filter_do(aubio_filter_t * b, fvec_t * in);
    9092extern void aubio_filter_do_outplace(aubio_filter_t * b, fvec_t * in, fvec_t * out);
    9193extern void aubio_filter_do_filtfilt(aubio_filter_t * b, fvec_t * in, fvec_t * tmp);
    92 extern void del_aubio_filter(aubio_filter_t * b);
    93 
    94 extern aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate, uint_t channels);
    95 extern void aubio_adsgn_filter_do(aubio_filter_t * b, fvec_t * in);
    96 extern void del_aubio_adsgn_filter(aubio_filter_t * b);
    97 
    98 extern aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate, uint_t channels);
    99 extern void aubio_cdsgn_filter_do(aubio_filter_t * b, fvec_t * in);
    100 extern void del_aubio_cdsgn_filter(aubio_filter_t * b);
     94/*extern int del_aubio_filter(aubio_filter_t * b);*/
    10195
    10296/* biquad */
     
    161155smpl_t aubio_spectral_centroid(cvec_t * spectrum, smpl_t samplerate);
    162156
    163 /* filterbank */
    164 aubio_filterbank_t * new_aubio_filterbank(uint_t win_s, uint_t channels);
    165 aubio_filterbank_t * new_aubio_filterbank_mfcc(uint_t n_filters, uint_t win_s, uint_t samplerate, smpl_t freq_min, smpl_t freq_max);
    166 void del_aubio_filterbank(aubio_filterbank_t * fb);
    167 void aubio_filterbank_do(aubio_filterbank_t * fb, cvec_t * in, fvec_t *out);
    168 fvec_t * aubio_filterbank_getchannel(aubio_filterbank_t * fb, uint_t channel);
    169 
    170 /* mfcc */
    171 aubio_mfcc_t * new_aubio_mfcc (uint_t win_s, uint_t samplerate, uint_t n_filters, uint_t n_coefs, smpl_t lowfreq, smpl_t highfreq, uint_t channels);
    172 void del_aubio_mfcc(aubio_mfcc_t *mf);
    173 void aubio_mfcc_do(aubio_mfcc_t *mf, cvec_t *in, fvec_t *out);
    174 
    175157/* scale */
    176 extern aubio_scale_t * new_aubio_scale(smpl_t flow, smpl_t fhig, smpl_t ilow, smpl_t ihig);
     158extern aubio_scale_t * new_aubio_scale(smpl_t flow, smpl_t fhig, smpl_t ilow, smpl_t ihig       );
    177159extern void aubio_scale_set (aubio_scale_t *s, smpl_t ilow, smpl_t ihig, smpl_t olow, smpl_t ohig);
    178160extern void aubio_scale_do(aubio_scale_t *s, fvec_t * input);
     
    220202        aubio_pitch_schmitt,
    221203        aubio_pitch_fcomb,
    222         aubio_pitch_yinfft
     204        aubio_pitch_yinfft
    223205} aubio_pitchdetection_type;
    224206
     
    237219
    238220aubio_pitchdetection_t * new_aubio_pitchdetection(uint_t bufsize,
    239     uint_t hopsize,
    240     uint_t channels,
    241     uint_t samplerate,
    242     aubio_pitchdetection_type type,
    243     aubio_pitchdetection_mode mode);
     221                uint_t hopsize,
     222                uint_t channels,
     223                uint_t samplerate,
     224                aubio_pitchdetection_type type,
     225                aubio_pitchdetection_mode mode);
    244226
    245227
     
    269251aubio_pickpeak_t * new_aubio_peakpicker(smpl_t threshold);
    270252uint_t aubio_peakpick_pimrt(fvec_t * DF, aubio_pickpeak_t * p);
     253smpl_t aubio_peakpick_pimrt_getval(aubio_pickpeak_t* p);
    271254uint_t aubio_peakpick_pimrt_wt( fvec_t* DF, aubio_pickpeak_t* p, smpl_t* peakval );
    272 smpl_t aubio_peakpick_pimrt_getval(aubio_pickpeak_t* p);
    273255void del_aubio_peakpicker(aubio_pickpeak_t * p);
    274 void aubio_peakpicker_set_threshold(aubio_pickpeak_t * p, smpl_t threshold);
    275 smpl_t aubio_peakpicker_get_threshold(aubio_pickpeak_t * p);
    276256
    277257/* transient/steady state separation */
     
    483463sint_t aubio_midi_player_join(aubio_midi_player_t* player);
    484464sint_t aubio_track_send_events(aubio_track_t* track,
    485     /*  aubio_synth_t* synth, */
    486     aubio_midi_player_t* player,
    487     uint_t ticks);
     465/*  aubio_synth_t* synth, */
     466                           aubio_midi_player_t* player,
     467                           uint_t ticks);
    488468sint_t aubio_midi_send_event(aubio_midi_player_t* player, aubio_midi_event_t* event);
    489469
Note: See TracChangeset for help on using the changeset viewer.