Code for the first mbed for the drum hero project

Dependencies:   4DGL SDFileSystem mbed

Fork of drums2 by Yusuf Kuris

Revision:
3:54d4226a7d5e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Song/song.h	Sun Apr 30 00:55:41 2017 +0000
@@ -0,0 +1,25 @@
+#ifndef SONG_H__
+#define SONG_H__
+
+#include <vector>
+
+class Song {
+    public:
+        // ID of the song to be played
+        int songId;
+        
+        // The notes that will be coming, type's of notes(1,2,3) that determine
+        // if a beat needs to be hit or not, 0's mean no hit, (4 means end of the
+        // song)
+        std::vector<int> notes;
+        
+        // The length of the array
+        int length;
+        
+        // BPM value, or the time value between two notes
+        float timing;
+        
+        // Construct a song with a certain ID
+        Song(int id);
+};
+#endif