29 #include <mraa/gpio.h> 44 int delayTimeLowSharp;
46 int delayTimeMedSharp;
48 int delayTimeHighSharp;
95 void playSound(
char letter,
bool sharp, std::string vocalWeight);
98 mraa_gpio_context m_gpio;
99 std::map <char, NoteData> m_note_list;
100 void sound(
int note_delay);
101 NoteData storeNote(
int noteDelayLow,
int noteDelayLowSharp,
102 int noteDelayMed,
int noteDelayMedSharp,
103 int noteDelayHigh,
int noteDelayHighSharp);
Definition: grovespeaker.hpp:41
GroveSpeaker(int pin)
Definition: grovespeaker.cxx:33
void playSound(char letter, bool sharp, std::string vocalWeight)
Definition: grovespeaker.cxx:86
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
~GroveSpeaker()
Definition: grovespeaker.cxx:49
void playAll()
Definition: grovespeaker.cxx:68
API for the Grove Speaker.
Definition: grovespeaker.hpp:69