diff widgets/UnitConverter.cpp @ 1159:8a5f0c8d5608 3.0-integration

Merge from branch piper
author Chris Cannam
date Fri, 28 Oct 2016 15:20:58 +0100
parents 8e4b90aeefaa
children a34a2a25907c
line wrap: on
line diff
--- a/widgets/UnitConverter.cpp	Thu Oct 20 11:20:27 2016 +0100
+++ b/widgets/UnitConverter.cpp	Fri Oct 28 15:20:58 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;