# HG changeset patch # User Chris Cannam # Date 1440081604 -3600 # Node ID 1a6304c547bfd90616588052939e4cefe566a374 # Parent 296ccd36f6265b22f7143d7d2231c65158bf563f Some minor tweaks to make behaviour more like prior Tony diff -r 296ccd36f626 -r 1a6304c547bf layer/SpectrogramLayer.cpp --- a/layer/SpectrogramLayer.cpp Thu Aug 20 14:54:21 2015 +0100 +++ b/layer/SpectrogramLayer.cpp Thu Aug 20 15:40:04 2015 +0100 @@ -2571,7 +2571,7 @@ fft->getNormalizedMagnitudesAt(sx, autoarray, minbin, maxbin - minbin + 1); float max = fft->getMaximumMagnitudeAt(sx); float scale = log10f(max + 1.f); - cout << "sx = " << sx << ", max = " << max << ", log10(max) = " << log10(max) << ", scale = " << scale << endl; +// cout << "sx = " << sx << ", max = " << max << ", log10(max) = " << log10(max) << ", scale = " << scale << endl; for (int i = minbin; i <= maxbin; ++i) { autoarray[i - minbin] *= scale; }