![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Code for the first mbed for the drum hero project
Dependencies: 4DGL SDFileSystem mbed
Fork of drums2 by
Song/song.h
- Committer:
- ckabuloglu
- Date:
- 2017-05-01
- Revision:
- 5:02800d96625d
- Parent:
- 3:54d4226a7d5e
File content as of revision 5:02800d96625d:
#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