rger

Dependencies:   mbed

Song.h

Committer:
kevinrhyne
Date:
2015-12-08
Revision:
0:a50960b2f6bd

File content as of revision 0:a50960b2f6bd:

#ifndef SONG_H
#define SONG_H

#include <vector>
#include <utility>
#include <string>
#include <iostream>
#include <fstream>
#include "mbed.h"

using namespace std;

class Song{
    private:
        vector< pair<string, int> > noteChart; //Vector of (note, length)
    public:
        Song(string);
        int getBinaryNote(string);
        void buildSong();
        int size();
        string getNote(int);
        int getLength(int);
        
};

#endif