4 songs: rain, william, sun, and circus

Dependencies:   mbed

Songs.h

Committer:
Luminoscity
Date:
2015-05-09
Revision:
1:3595fce69880
Parent:
0:c02f01feda7b

File content as of revision 1:3595fce69880:

#include "mbed.h"
#include "Buzzer.h"

#define MAX_NOTES 200

class Song {
private:
    int beats[MAX_NOTES];
    int range[MAX_NOTES];
    char *notes;
    int length;
    int tempo;
    int betweenWait;

public:    
   Song();
   Song(char *);
   void play();
   void choose(char *);
   void setTempo(int);
};