Changeset 0cf2b44 for src/pitch/pitch.c
- Timestamp:
- Sep 28, 2016, 2:23:16 AM (8 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:
- 6388c37
- Parents:
- 1b57274
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/pitch/pitch.c
r1b57274 r0cf2b44 325 325 } 326 326 327 smpl_t 328 aubio_pitch_get_tolerance (aubio_pitch_t * p) 329 { 330 smpl_t tolerance = 1.; 331 switch (p->type) { 332 case aubio_pitcht_yin: 333 tolerance = aubio_pitchyin_get_tolerance (p->p_object); 334 break; 335 case aubio_pitcht_yinfft: 336 tolerance = aubio_pitchyinfft_get_tolerance (p->p_object); 337 break; 338 default: 339 break; 340 } 341 return tolerance; 342 } 343 327 344 uint_t 328 345 aubio_pitch_set_silence (aubio_pitch_t * p, smpl_t silence)
Note: See TracChangeset
for help on using the changeset viewer.