test publish

Dependencies:   mbed GroveEarbudSensor

MelodyGenerator.h

Committer:
age2pierre
Date:
2016-04-11
Revision:
8:e1beb2a9454e
Parent:
6:7cc8a333e03b

File content as of revision 8:e1beb2a9454e:

#ifndef _MELODY_GENERATOR_H_
#define _MELODY_GENERATOR_H_

#include <string>
#include <vector>
#include "Notes.h"
#include "Scale.h"

using namespace std;

class MelodyGenerator {
    public :
        MelodyGenerator();
        MelodyGenerator(string myMelody);
        vector<Notes>* getMeasure(Scale& mode);
        void changeMelody(string myMelody);
    protected :
    private :
        string melody;
        int cursor;
};

#endif