changeset 692:cb5eb032c28b sonification

Add queueExampleNote to AudioPlaySource interface
author Chris Cannam
date Fri, 24 Jun 2011 16:42:13 +0100
parents b99dc5465b80
children ed980bb7c7bc
files base/AudioPlaySource.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
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