Mercurial > hg > svgui
diff layer/SpectrumLayer.cpp @ 595:c080d14ff414 integration_library
Put some debug outputs in comments
author | mathieub <mathieu.barthet@eecs.qmul.ac.uk> |
---|---|
date | Tue, 23 Aug 2011 14:45:02 +0100 |
parents | a13aa5320221 |
children |
line wrap: on
line diff
--- a/layer/SpectrumLayer.cpp Mon Jul 25 18:56:28 2011 +0100 +++ b/layer/SpectrumLayer.cpp Tue Aug 23 14:45:02 2011 +0100 @@ -876,7 +876,7 @@ bool SpectrumLayer::scaleClicked(const View *v, QMouseEvent *e) { - std::cerr<< "Mouse click detected in the spectrum scale area: (" << e->x() << "," << e->y() << ")" << std::endl; + //std::cerr<< "Mouse click detected in the spectrum scale area: (" << e->x() << "," << e->y() << ")" << std::endl; float freq; QString unit; @@ -888,7 +888,7 @@ midipitch = Pitch::getPitchForFrequency(freq,centsOffsetReturn,concertA); - std::cerr<< "Frequency: " << freq << " " << unit.toStdString() << " (midi pitch = " << midipitch << ")" << std::endl; + //std::cerr<< "Frequency: " << freq << " " << unit.toStdString() << " (midi pitch = " << midipitch << ")" << std::endl; if ((midipitch>=0)&&(midipitch<127)) { v->playExampleNote(midipitch);