# HG changeset patch # User Chris Cannam # Date 1373291368 -3600 # Node ID 06c64a1c6785c3724b7bf37c84eb8532bfff65d7 # Parent bb7ea947c60d7ae76d3a608479f69a6308facd55# Parent 97741fe162058fb9a72a3e44687c1ed425fa0cb1 Merge diff -r bb7ea947c60d -r 06c64a1c6785 .hgtags --- a/.hgtags Mon Jul 08 14:44:01 2013 +0100 +++ b/.hgtags Mon Jul 08 14:49:28 2013 +0100 @@ -33,3 +33,5 @@ dc6c0e50724cc1eea8d77177f9e9a5d3c5d4cebd 2.0.1_osx c808c57e556048f4e9bdffa09cee691cd73b6466 sonic-annotator-1.0 67003fb58ba4d69022a4af9339e54bb60158683a sv_v2.1 +67003fb58ba4d69022a4af9339e54bb60158683a sv_v2.1 +f85050b6f5229c083f639811aa39a87c8afa7820 sv_v2.1 diff -r bb7ea947c60d -r 06c64a1c6785 base/Window.h --- a/base/Window.h Mon Jul 08 14:44:01 2013 +0100 +++ b/base/Window.h Mon Jul 08 14:49:28 2013 +0100 @@ -41,7 +41,11 @@ { public: /** - * Construct a windower of the given type. + * Construct a windower of the given type and size. + * + * Note that the cosine windows are periodic by design, rather + * than symmetrical. (A window of size N is equivalent to a + * symmetrical window of size N+1 with the final element missing.) */ Window(WindowType type, size_t size) : m_type(type), m_size(size) { encache(); } Window(const Window &w) : m_type(w.m_type), m_size(w.m_size) { encache(); }