diff layer/SpectrogramLayer.h @ 589:7ebd5a21d74f sonification

Branch to handle audio feedback and metadata sonification interactively with the UI. Piano keyboard audio feedback: The midi pitch of a piano keyboard note is retrieved in SpectrogramLayer::processMouseEvent when a left click is made on the note in the Select tool mode (SpectrogramLayer with a log frequency scale). The same process should be applied to the Spectrum layer (log frequency scale) as well.
author mathieub <mathieu.barthet@eecs.qmul.ac.uk>
date Wed, 22 Jun 2011 00:04:21 +0100
parents 4c484636d5ec
children 241929c5d57c
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Tue Jun 14 15:27:05 2011 +0100
+++ b/layer/SpectrogramLayer.h	Wed Jun 22 00:04:21 2011 +0100
@@ -227,6 +227,8 @@
 
     virtual const Model *getSliceableModel() const;
 
+    virtual void processMouseEvent(const View *, QMouseEvent *, int);
+
 protected slots:
     void cacheInvalid();
     void cacheInvalid(size_t startFrame, size_t endFrame);