test publish

Dependencies:   mbed GroveEarbudSensor

MelodyGenerator.h

Committer:
age2pierre
Date:
2016-04-14
Revision:
13:879d678baf64
Parent:
8:e1beb2a9454e

File content as of revision 13:879d678baf64:

#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