Note: this is just an implementation for playing audio. It DOES NOT play any audio sound. This is to ensure that audio can be played in an platform-independent mode. All platform dependent codes are written by creating flavors of the base implementations.
For playing audio,you must override <playKeyboard()> or <play()>, whichever function you like. After overriding this implementation, make sure to add to the empathy::Empathy instance. by calling empathyApp->setMoonLight(moonLightExtendedInstance);
radio::Subscriber |
The class to be overridden to emit/receive events. |
MoonLight | ( | ) |
Default constructor
init | ( | ) |
onInit()
Called when an event is received for this subscriber.
event |
terminate | ( | ) |
onTerminate()
play | ( | std::__cxx11::string | id | ) |
Play a certain tone. Repeat=false;
id |
play | ( | std::__cxx11::string | id, | |
bool | repeat | ) |
Play a certain tone.
id | |
repeat |
Notation should be like 1As
or 2A
or 3E
and not 3A#
note |