diff base/AudioPlaySource.h @ 692:cb5eb032c28b sonification

Add queueExampleNote to AudioPlaySource interface
author Chris Cannam
date Fri, 24 Jun 2011 16:42:13 +0100
parents a1b6d2e33cab
children
line wrap: on
line diff
--- a/base/AudioPlaySource.h	Tue Jun 14 15:28:42 2011 +0100
+++ b/base/AudioPlaySource.h	Fri Jun 24 16:42:13 2011 +0100
@@ -96,6 +96,11 @@
      */
     virtual void setAuditioningEffect(Auditionable *) = 0;
 
+    /**
+     * Request spontaneous playback of a single short note of the
+     * given pitch.
+     */
+    virtual void queueExampleNote(int midiPitch) = 0;
 };
 
 #endif