diff --git a/cqt.py b/cqt.py index 8ff683b..2013d1a 100644 --- a/cqt.py +++ b/cqt.py @@ -40,7 +40,7 @@ def slow(self, x) : return np.array(cq) def hamming(length) : - return 0.46 - 0.54 * np.cos(2 * pi * np.arange(length) / length) + return 0.54 - 0.46 * np.cos(2 * pi * np.arange(length) / length) # np.arange() def test() :