Changeset eb089fb
- Timestamp:
- Oct 6, 2009, 5:03:23 PM (15 years ago)
- 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:
- b07ff1e
- Parents:
- 422edfb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
swig/aubio.i
r422edfb reb089fb 62 62 63 63 /* sndfile */ 64 #if HAVE_SNDFILE64 %#if HAVE_SNDFILE 65 65 extern aubio_sndfile_t * new_aubio_sndfile_ro (const char * inputfile); 66 66 extern aubio_sndfile_t * new_aubio_sndfile_wo(aubio_sndfile_t * existingfile, const char * outputname); … … 71 71 extern uint_t aubio_sndfile_channels(aubio_sndfile_t * file); 72 72 extern uint_t aubio_sndfile_samplerate(aubio_sndfile_t * file); 73 #endif /* HAVE_SNDFILE */73 %#endif /* HAVE_SNDFILE */ 74 74 75 75 /* fft */ … … 181 181 182 182 /* resampling */ 183 #if HAVE_LIBSAMPLERATE183 %#if HAVE_SAMPLERATE 184 184 extern aubio_resampler_t * new_aubio_resampler(float ratio, uint_t type); 185 185 extern uint_t aubio_resampler_process(aubio_resampler_t *s, fvec_t * input, fvec_t * output); 186 186 extern void del_aubio_resampler(aubio_resampler_t *s); 187 #endif /* HAVE_LIBSAMPLERATE */187 %#endif /* HAVE_SAMPLERATE */ 188 188 189 189 /* onset detection */ … … 271 271 /* peakpicker */ 272 272 aubio_pickpeak_t * new_aubio_peakpicker(smpl_t threshold); 273 smpl_t aubio_peakpick_pimrt(fvec_t * DF, aubio_pickpeak_t * p); 274 uint_t aubio_peakpick_pimrt_wt( fvec_t* DF, aubio_pickpeak_t* p, smpl_t* peakval ); 275 smpl_t aubio_peakpick_pimrt_getval(aubio_pickpeak_t* p); 273 smpl_t aubio_peakpicker_do(aubio_pickpeak_t * p, fvec_t * df); 274 smpl_t aubio_peakpicker_get_thresholded_input(aubio_pickpeak_t* p); 276 275 void del_aubio_peakpicker(aubio_pickpeak_t * p); 277 276 void aubio_peakpicker_set_threshold(aubio_pickpeak_t * p, smpl_t threshold);
Note: See TracChangeset
for help on using the changeset viewer.