diff layer/SpectrogramLayer.cpp @ 591:0946feb81b79 sonification

Add playExampleNote route through view manager out to the audio play source
author Chris Cannam
date Fri, 24 Jun 2011 16:42:48 +0100
parents 241929c5d57c
children a13aa5320221
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp	Fri Jun 24 14:27:32 2011 +0100
+++ b/layer/SpectrogramLayer.cpp	Fri Jun 24 16:42:48 2011 +0100
@@ -3798,7 +3798,10 @@
 
         std::cerr<< "Frequency: " << freq << " " << unit.toStdString() << " (midi pitch = " << midipitch << ")" << std::endl;
 
+        v->playExampleNote(midipitch);
+
         return true;
+
     } else {
         return false;
     }