Changes in swig/aubio.i [a7667ce:c7f32b1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
swig/aubio.i
ra7667ce rc7f32b1 86 86 87 87 /* filter */ 88 extern aubio_filter_t * new_aubio_filter(uint_t samplerate, uint_t order, uint_t channels); 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); 89 91 extern void aubio_filter_do(aubio_filter_t * b, fvec_t * in); 90 92 extern void aubio_filter_do_outplace(aubio_filter_t * b, fvec_t * in, fvec_t * out); 91 93 extern 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);*/ 101 95 102 96 /* biquad */ … … 161 155 smpl_t aubio_spectral_centroid(cvec_t * spectrum, smpl_t samplerate); 162 156 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 175 157 /* scale */ 176 extern aubio_scale_t * new_aubio_scale(smpl_t flow, smpl_t fhig, smpl_t ilow, smpl_t ihig );158 extern aubio_scale_t * new_aubio_scale(smpl_t flow, smpl_t fhig, smpl_t ilow, smpl_t ihig ); 177 159 extern void aubio_scale_set (aubio_scale_t *s, smpl_t ilow, smpl_t ihig, smpl_t olow, smpl_t ohig); 178 160 extern void aubio_scale_do(aubio_scale_t *s, fvec_t * input); … … 220 202 aubio_pitch_schmitt, 221 203 aubio_pitch_fcomb, 222 204 aubio_pitch_yinfft 223 205 } aubio_pitchdetection_type; 224 206 … … 237 219 238 220 aubio_pitchdetection_t * new_aubio_pitchdetection(uint_t bufsize, 239 240 241 242 243 221 uint_t hopsize, 222 uint_t channels, 223 uint_t samplerate, 224 aubio_pitchdetection_type type, 225 aubio_pitchdetection_mode mode); 244 226 245 227 … … 269 251 aubio_pickpeak_t * new_aubio_peakpicker(smpl_t threshold); 270 252 uint_t aubio_peakpick_pimrt(fvec_t * DF, aubio_pickpeak_t * p); 253 smpl_t aubio_peakpick_pimrt_getval(aubio_pickpeak_t* p); 271 254 uint_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);273 255 void 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);276 256 277 257 /* transient/steady state separation */ … … 483 463 sint_t aubio_midi_player_join(aubio_midi_player_t* player); 484 464 sint_t aubio_track_send_events(aubio_track_t* track, 485 486 487 465 /* aubio_synth_t* synth, */ 466 aubio_midi_player_t* player, 467 uint_t ticks); 488 468 sint_t aubio_midi_send_event(aubio_midi_player_t* player, aubio_midi_event_t* event); 489 469
Note: See TracChangeset
for help on using the changeset viewer.