Mercurial > hg > may
changeset 288:16a9ee99efcf
Window overlap scale factor
author | Chris Cannam |
---|---|
date | Thu, 30 May 2013 20:27:54 +0100 |
parents | d6811e2949ff |
children | b34960d2b519 |
files | yetilab/stream/framer.yeti |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/yetilab/stream/framer.yeti Thu May 30 17:56:29 2013 +0100 +++ b/yetilab/stream/framer.yeti Thu May 30 20:27:54 2013 +0100 @@ -112,7 +112,8 @@ (var remaining = frames; var buffered = mat.zeroSizeMatrix (); var position = 0; - w = win.windowFunction (Hann ()) [ Symmetric false ] framesize; + factor = hop / (framesize/2); + w = bf.scaled factor (win.hann framesize); channels = mat.height (head frames); // so we don't need to keep a head ptr filt.delayedBy (- framesize) {