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