- Timestamp:
- Nov 28, 2018, 3:30:11 PM (6 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
- Children:
- 8968ea7, abe67e1
- Parents:
- 7625d85
- Location:
- src/pitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitchmcomb.c
r7625d85 rc0ce78f 38 38 * sort_pitchpeak(peaks, length); 39 39 */ 40 #if 0 40 41 /** spectral_peak comparison function (must return signed int) */ 41 42 static sint_t aubio_pitchmcomb_sort_peak_comp (const void *x, const void *y); … … 45 46 uint_t aubio_pitch_cands (aubio_pitchmcomb_t * p, const cvec_t * fftgrain, 46 47 smpl_t * cands); 48 #endif 47 49 48 50 /** sort spectral_candidate against their comb ene */ 49 51 void aubio_pitchmcomb_sort_cand_ene (aubio_spectralcandidate_t ** candidates, 50 52 uint_t nbins); 53 #if 0 51 54 /** sort spectral_candidate against their frequency */ 52 55 void aubio_pitchmcomb_sort_cand_freq (aubio_spectralcandidate_t ** candidates, 53 56 uint_t nbins); 57 #endif 54 58 55 59 struct _aubio_pitchmcomb_t … … 134 138 } 135 139 140 #if 0 136 141 uint_t 137 142 aubio_pitch_cands (aubio_pitchmcomb_t * p, const cvec_t * fftgrain, smpl_t * cands) … … 164 169 } 165 170 } 171 #endif 166 172 167 173 void … … 314 320 } 315 321 322 #if 0 316 323 void 317 324 aubio_pitchmcomb_sort_peak (aubio_spectralpeak_t * peaks, uint_t nbins) … … 343 350 } 344 351 345 346 352 void 347 353 aubio_pitchmcomb_sort_cand_freq (aubio_spectralcandidate_t ** candidates, … … 357 363 } 358 364 } 365 #endif 359 366 360 367 aubio_pitchmcomb_t * -
src/pitch/pitchyin.c
r7625d85 rc0ce78f 40 40 }; 41 41 42 #if 0 42 43 /** compute difference function 43 44 … … 61 62 */ 62 63 uint_t aubio_pitchyin_getpitch (const fvec_t * yinbuf); 64 #endif 63 65 64 66 aubio_pitchyin_t * … … 79 81 } 80 82 83 #if 0 81 84 /* outputs the difference function */ 82 85 void … … 128 131 return 0; 129 132 } 133 #endif 130 134 131 135 /* all the above in one */
Note: See TracChangeset
for help on using the changeset viewer.