Changeset 84941cb


Ignore:
Timestamp:
Apr 11, 2005, 6:36:29 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:
bd2f2ab
Parents:
cf7c76a
Message:

add a cast in autocorr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mathutils.c

    rcf7c76a r84941cb  
    411411                        tmp += data[j-i]*data[j];
    412412                }
    413                 acf[i] = tmp/(length-i);
     413                acf[i] = tmp /(smpl_t)(length-i);
    414414                tmp = 0.0;
    415415        }
Note: See TracChangeset for help on using the changeset viewer.