Mercurial > hg > svgui
diff layer/SpectrogramLayer.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/SpectrogramLayer.cpp Mon Jul 25 18:56:28 2011 +0100 +++ b/layer/SpectrogramLayer.cpp Tue Aug 23 14:45:02 2011 +0100 @@ -3788,7 +3788,7 @@ bool SpectrogramLayer::scaleClicked(const View *v, QMouseEvent *e) { - std::cerr<< "Mouse click detected in the spectrogram scale area: (" << e->x() << "," << e->y() << ")" << std::endl; + //std::cerr<< "Mouse click detected in the spectrogram scale area: (" << e->x() << "," << e->y() << ")" << std::endl; float freq; QString unit; @@ -3800,7 +3800,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);