synthberry
Software MIDI synthesizer for the Raspberry Pi.
 All Classes Functions
debugobserver.cpp
1 #include "debugobserver.h"
2 #include "log.h"
3 
4 DebugObserver::DebugObserver()
5 {
6 }
7 
8 DebugObserver::~DebugObserver()
9 {
10 }
11 
12 void DebugObserver::noteAdded(const Note &note)
13 {
14  LOG("Note " << std::hex << (unsigned int)note.getPitch() << " added with "
15  "velocity " << std::hex << (unsigned int)note.getVelocity());
16 }
17 
18 void DebugObserver::noteRemoved(const Note &note)
19 {
20  LOG("Note " << std::hex << (unsigned int)note.getPitch() << " removed");
21 }
22 
23 void DebugObserver::notify(const PNoteObservable &&subject)
24 {
25 }