- Timestamp:
- Mar 6, 2013, 9:30:55 PM (12 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:
- 043c48c
- Parents:
- 037319a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mathutils.c
r037319a rc965b33 422 422 { 423 423 smpl_t freq = samplerate / fftsize; 424 return freq * bin;424 return freq * MAX(bin, 0); 425 425 } 426 426 … … 436 436 { 437 437 smpl_t bin = fftsize / samplerate; 438 return freq* bin;438 return MAX(freq, 0) * bin; 439 439 } 440 440
Note: See TracChangeset
for help on using the changeset viewer.