Entropy Piano Tuner
1.1.3 (documentation not yet complete)
An open-source experimental software for piano tuning by entropy minimization
|
Adapter for displaying the recording level (VU meter) More...
#include <recorderlevel.h>
Public Member Functions | |
RecorderLevel () | |
~RecorderLevel () | |
virtual void | handleMessage (MessagePtr m) override |
Message handler. More... | |
Protected Member Functions | |
virtual void | levelChanged (double value)=0 |
Change the shown level. More... | |
Adapter for displaying the recording level (VU meter)
This adapter receives the messages to update the recording level (VU values) and communicates them to the GUI
Definition at line 38 of file recorderlevel.h.
|
inline |
Definition at line 41 of file recorderlevel.h.
|
inline |
Definition at line 42 of file recorderlevel.h.
|
overridevirtual |
Message handler.
The message handler receives the incoming messages and listens for the message that the energy (VU level) has changed. If so, it loads the message and checks whether this concerns the input level. Subsequently, the virtual function levelChanged is called, which in the GUI implementation takes the appropriate action.
m | : Incoming message. |
Implements MessageListener.
Definition at line 39 of file recorderlevel.cpp.
|
protectedpure virtual |
Change the shown level.
value | : Level value between 0 and 1. |
Implemented in VolumeControlLevel.