Changeset c2a39af
- Timestamp:
- Apr 29, 2016, 8:07:10 PM (9 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:
- ee092a8
- Parents:
- 215b33c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/spectral/phasevoc.c
r215b33c rc2a39af 67 67 fvec_ishift(pv->synth); 68 68 /* windowing */ 69 fvec_weight(pv->synth, pv->w); 69 // if overlap = 50%, do not apply window (identity) 70 if (pv->hop_s * 2 < pv->win_s) { 71 fvec_weight(pv->synth, pv->w); 72 } 70 73 /* additive synthesis */ 71 74 aubio_pvoc_addsynth(pv, synthnew); … … 125 128 } else if (win_s == hop_s * 8) { 126 129 pv->scale = 1./3.; 130 } else if (win_s == hop_s * 2) { 131 pv->scale = 1.; 127 132 } else { 128 133 pv->scale = .5;
Note: See TracChangeset
for help on using the changeset viewer.