Two player imu pong

Dependencies:   4DGL-uLCD-SE IMUfilter LSM9DS0 PinDetect mbed

Revision:
0:941225f01ccc
diff -r 000000000000 -r 941225f01ccc soundBuilder.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/soundBuilder.h	Thu Oct 22 16:50:22 2015 +0000
@@ -0,0 +1,36 @@
+#include "Speaker.h"
+
+class Note
+{
+public:
+    Note();
+    Note(float, float, float);
+    float getFreq();
+    float getLength();
+    float getVol();
+    // You create your own constructors and 
+    // member functions!!
+private:
+    float freq;
+    float length;
+    float volume;
+};
+
+class SoundBuilder
+{
+public:
+    SoundBuilder();
+    SoundBuilder(Speaker *);
+    void addNote(Note);
+    void playSong();
+    // Set Sounds
+    // Set Songs
+    // Play Sounds
+    // Play Songs
+    // Clear Songs
+
+private:
+    Note song[20];
+    Speaker *speaker;
+    int ind;
+};