Changeset 7a04950
- Timestamp:
- May 10, 2005, 4:36:37 PM (20 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:
- d072c13
- Parents:
- 603fca4
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile.am
r603fca4 r7a04950 18 18 pitchmcomb.h \ 19 19 pitchyin.h \ 20 pitchschmitt.h \ 21 pitchfcomb.h \ 20 22 filter.h 21 23 … … 51 53 pitchyin.c \ 52 54 pitchyin.h \ 55 pitchschmitt.c \ 56 pitchschmitt.h \ 57 pitchfcomb.c \ 58 pitchfcomb.h \ 53 59 filter.c \ 54 60 filter.h -
src/aubio.h
r603fca4 r7a04950 67 67 #include "tss.h" 68 68 #include "resample.h" 69 70 69 #include "peakpick.h" 71 70 #include "biquad.h" … … 74 73 #include "pitchmcomb.h" 75 74 #include "pitchyin.h" 75 #include "pitchschmitt.h" 76 #include "pitchfcomb.h" 76 77 77 78 #ifdef __cplusplus -
src/pitchmcomb.c
r603fca4 r7a04950 342 342 } 343 343 344 345 void del_aubio_pitchmcomb (aubio_pitchmcomb_t *p) { 346 uint_t i; 347 del_fvec(p->newmag); 348 del_fvec(p->newmag); 349 del_fvec(p->newmag); 350 AUBIO_FREE(p->peaks); 351 for (i=0;i<p->ncand;i++) { 352 AUBIO_FREE(p->candidates[i]); 353 } 354 AUBIO_FREE(p->candidates); 355 AUBIO_FREE(p); 356 } -
src/pitchmcomb.h
r603fca4 r7a04950 36 36 uint_t aubio_pitch_cands(aubio_pitchmcomb_t * p, cvec_t * fftgrain, smpl_t * cands); 37 37 aubio_pitchmcomb_t * new_aubio_pitchmcomb(uint_t size, uint_t channels); 38 void del_aubio_pitchmcomb(aubio_pitchmcomb_t *p); 38 39 39 40 #ifdef __cplusplus -
swig/aubio.i
r603fca4 r7a04950 163 163 smpl_t aubio_pitchmcomb_detect(aubio_pitchmcomb_t * p, cvec_t * fftgrain); 164 164 uint_t aubio_pitch_cands(aubio_pitchmcomb_t * p, cvec_t * fftgrain, smpl_t * cands); 165 void del_aubio_pitchmcomb (aubio_pitchmcomb_t *p); 165 166 166 167 /* pitch yin */ … … 168 169 void aubio_pitchyin_getcum(fvec_t *yin); 169 170 uint_t aubio_pitchyin_getpitch(fvec_t *yin); 171 172 /* pitch schmitt */ 173 aubio_pitchschmitt_t * new_aubio_pitchschmitt (uint_t size, uint_t samplerate); 174 smpl_t aubio_pitchschmitt_detect (aubio_pitchschmitt_t *p, fvec_t * input); 175 void del_aubio_pitchschmitt (aubio_pitchschmitt_t *p); 176 177 /* pitch fcomb */ 178 aubio_pitchfcomb_t * new_aubio_pitchfcomb (uint_t size, uint_t samplerate); 179 smpl_t aubio_pitchfcomb_detect (aubio_pitchfcomb_t *p, fvec_t * input); 180 void del_aubio_pitchfcomb (aubio_pitchfcomb_t *p); 170 181 171 182 /* peakpicker */
Note: See TracChangeset
for help on using the changeset viewer.