comparison 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
comparison
equal deleted inserted replaced
587:4806715f7a19 589:7ebd5a21d74f
224 virtual int getCurrentVerticalZoomStep() const; 224 virtual int getCurrentVerticalZoomStep() const;
225 virtual void setVerticalZoomStep(int); 225 virtual void setVerticalZoomStep(int);
226 virtual RangeMapper *getNewVerticalZoomRangeMapper() const; 226 virtual RangeMapper *getNewVerticalZoomRangeMapper() const;
227 227
228 virtual const Model *getSliceableModel() const; 228 virtual const Model *getSliceableModel() const;
229
230 virtual void processMouseEvent(const View *, QMouseEvent *, int);
229 231
230 protected slots: 232 protected slots:
231 void cacheInvalid(); 233 void cacheInvalid();
232 void cacheInvalid(size_t startFrame, size_t endFrame); 234 void cacheInvalid(size_t startFrame, size_t endFrame);
233 235