Changeset 1f4d932 for src/spectral


Ignore:
Timestamp:
Apr 27, 2016, 9:00:13 PM (9 years ago)
Author:
Paul Brossier <piem@piem.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:
92a8800
Parents:
ac65a2f
Message:

src/spectral/phasevoc.c: fix scaling factor for win_s = 4 * hop_s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/spectral/phasevoc.c

    rac65a2f r1f4d932  
    120120  pv->hop_datasize = pv->hop_s * sizeof(smpl_t);
    121121
    122   pv->scale = pv->hop_s * 2. / pv->win_s;
     122  // for reconstruction with 75% overlap
     123  pv->scale = 2./3.;
    123124
    124125  return pv;
Note: See TracChangeset for help on using the changeset viewer.