Ignore:
Timestamp:
Apr 11, 2005, 6:31:48 PM (19 years ago)
Author:
Paul Brossier <piem@altern.org>
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:
84941cb
Parents:
a0fd4e4
Message:

update pitchyin.[ch] and pitchdetection.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pitchdetection.c

    ra0fd4e4 rcf7c76a  
    104104                                }
    105105                        }
    106                         /* get the autocorr and pitch */
    107                         aubio_pitchyin_diff(p->buf,p->yin);
    108                         aubio_pitchyin_getcum(p->yin);
    109                         pitch = aubio_pitchyin_getpitch(p->yin);
     106                        pitch = aubio_pitchyin_getpitchfast(p->buf,p->yin, 0.5);
    110107                        if (pitch>0) {
    111108                                pitch = p->srate/(pitch+0.);
     
    113110                                pitch = 0.;
    114111                        }
    115                         //fprintf(stderr,"%f\n",pitch);
    116112                        break;
    117113                case mcomb:
Note: See TracChangeset for help on using the changeset viewer.