diff widgets/UnitConverter.cpp @ 1158:8e4b90aeefaa project-file-rework

Tidying
author Chris Cannam
date Tue, 25 Oct 2016 15:32:41 +0100
parents 78ae34f388f6
children a34a2a25907c
line wrap: on
line diff
--- a/widgets/UnitConverter.cpp	Tue Oct 25 15:29:01 2016 +0100
+++ b/widgets/UnitConverter.cpp	Tue Oct 25 15:32:41 2016 +0100
@@ -325,7 +325,7 @@
     int note, octave;
     Pitch::getNoteAndOctaveForPitch(pitch, note, octave);
 
-    cerr << "pitch " << pitch << " note " << note << " octave " << octave << " cents " << cents << endl;
+//    cerr << "pitch " << pitch << " note " << note << " octave " << octave << " cents " << cents << endl;
 
     setTo(m_midi, pitch);
     setTo(m_cents, cents);
@@ -387,7 +387,7 @@
     double samples = m_samples->value();
     double rate = getSampleRate();
 
-    cerr << samples << " samples at rate " << rate << endl;
+//    cerr << samples << " samples at rate " << rate << endl;
 
     double sec = samples / rate;
     double hz = rate / samples;