Changeset e47ade3


Ignore:
Timestamp:
Apr 20, 2006, 2:49:06 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:
e31ac284
Parents:
b1585fd
Message:

mcomb: bypass hack for high freqs, use instfreq rather than interp
mcomb: bypass hack for high freqs, use instfreq rather than interp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pitchmcomb.c

    rb1585fd re47ade3  
    112112    p->theta->data[i][j]=fftgrain->phas[i][j];
    113113  }
     114  //return p->candidates[p->goodcandidate]->ebin;
    114115  return FLOOR(p->candidates[p->goodcandidate]->ebin+.5) + instfreq;
    115116  /*} else {
     
    203204  /* get the biggest peak in the spectrum */
    204205  root_peak = aubio_pitchmcomb_get_root_peak(peaks,count);
     206  /* not enough partials in highest notes, could be forced */
     207  //if (peaks[root_peak].ebin >= aubio_miditofreq(85.)/p->tau) N=2;
     208  //if (peaks[root_peak].ebin >= aubio_miditofreq(90.)/p->tau) N=1;
    205209  /* now calculate the energy of each of the 5 combs */
    206210  for (l=0;l<M;l++) {
Note: See TracChangeset for help on using the changeset viewer.