# HG changeset patch # User Chris Cannam # Date 1369393064 -3600 # Node ID 97741fe162058fb9a72a3e44687c1ed425fa0cb1 # Parent 98d54183d0f8d210f50149fe9b526218c4cd09ca Comment about periodic windows diff -r 98d54183d0f8 -r 97741fe16205 base/Window.h --- a/base/Window.h Thu May 16 15:00:20 2013 +0100 +++ b/base/Window.h Fri May 24 11:57:44 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(); }