Changeset 61139c6
- Timestamp:
- Nov 6, 2009, 12:11:41 AM (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:
- c03e777
- Parents:
- 7b485af
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
swig/aubio.i
r7b485af r61139c6 9 9 typedef int sint_t; 10 10 typedef float smpl_t; 11 typedef char char_t; 11 12 12 13 /* fvec */ … … 107 108 108 109 /* tempo */ 109 typedef struct _aubio_tempo_t aubio_tempo_t;110 110 aubio_tempo_t * new_aubio_tempo (char_t * mode, 111 111 uint_t buf_size, uint_t hop_size, uint_t channels, uint_t samplerate); … … 117 117 void del_aubio_tempo(aubio_tempo_t * o); 118 118 119 /* specdesc */ 120 void aubio_specdesc_do (aubio_specdesc_t * o, cvec_t * fftgrain, 121 fvec_t * desc); 122 aubio_specdesc_t *new_aubio_specdesc (char_t * method, uint_t buf_size, 123 uint_t channels); 124 void del_aubio_specdesc (aubio_specdesc_t * o); 125 126 /* peak picker */ 127 aubio_peakpicker_t * new_aubio_peakpicker(uint_t channels); 128 void aubio_peakpicker_do(aubio_peakpicker_t * p, fvec_t * in, fvec_t * out); 129 fvec_t * aubio_peakpicker_get_thresholded_input(aubio_peakpicker_t * p); 130 void del_aubio_peakpicker(aubio_peakpicker_t * p); 131 uint_t aubio_peakpicker_set_threshold(aubio_peakpicker_t * p, smpl_t threshold); 132 119 133 /* sndfile */ 120 134 %{ 135 #include "config.h" 121 136 #if HAVE_SNDFILE 122 137 #include "sndfileio.h"
Note: See TracChangeset
for help on using the changeset viewer.