Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 180:29f01de27db4
* Add vertical zooming and snap-to-selection for OSC control;
add a demo script
author | Chris Cannam |
---|---|
date | Wed, 15 Nov 2006 18:22:26 +0000 |
parents | 05015e717a0d |
children | 42118892f428 |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Tue Nov 14 16:06:00 2006 +0000 +++ b/layer/SpectrogramLayer.cpp Wed Nov 15 18:22:26 2006 +0000 @@ -2188,8 +2188,8 @@ return; } - std::cerr << "SpectrogramLayer: illuminateLocalFeatures(" - << localPos.x() << "," << localPos.y() << ")" << std::endl; +// std::cerr << "SpectrogramLayer: illuminateLocalFeatures(" +// << localPos.x() << "," << localPos.y() << ")" << std::endl; float s0, s1; float f0, f1; @@ -2206,8 +2206,8 @@ int y1 = getYForFrequency(v, f1); int y0 = getYForFrequency(v, f0); - std::cerr << "SpectrogramLayer: illuminate " - << x0 << "," << y1 << " -> " << x1 << "," << y0 << std::endl; +// std::cerr << "SpectrogramLayer: illuminate " +// << x0 << "," << y1 << " -> " << x1 << "," << y0 << std::endl; paint.setPen(Qt::white);