# HG changeset patch # User Chris Cannam # Date 1370017976 -3600 # Node ID 240eb77ee2e8ce56fa374c271590fca75299aa94 # Parent c40821ff70f869e662f55f5668d814e72258e2d0 Make boxcar all-1s, not all-0.5s -- means it doesn't have the same attenuation on average as other windows, but it's more consistent with other environments diff -r c40821ff70f8 -r 240eb77ee2e8 yetilab/signal/window.yeti --- a/yetilab/signal/window.yeti Fri May 31 15:14:09 2013 +0100 +++ b/yetilab/signal/window.yeti Fri May 31 17:32:56 2013 +0100 @@ -67,7 +67,7 @@ blackmanNuttall = cosineWindow 0.3635819 0.4891775 0.1365995 0.0106411; blackmanHarris = cosineWindow 0.35875 0.48829 0.14128 0.01168; -boxcar n = if n < 2 then vec.ones n else vec.consts 0.5 n fi; +boxcar n = vec.ones n; windowFunction type options = (var sampling = Periodic ();