Mercurial > hg > svgui
changeset 998:1a6304c547bf tony-2.0-integration
Some minor tweaks to make behaviour more like prior Tony
author | Chris Cannam |
---|---|
date | Thu, 20 Aug 2015 15:40:04 +0100 |
parents | 296ccd36f626 |
children | 477fbf3f10ca |
files | layer/SpectrogramLayer.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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; }