test publish

Dependencies:   mbed GroveEarbudSensor

Scale.h

Committer:
age2pierre
Date:
2016-03-25
Revision:
5:ee265ab0752d
Child:
6:7cc8a333e03b

File content as of revision 5:ee265ab0752d:

#ifndef _SCALE_H_
#define _SCALE_H_

#include "Notes.h"

class Scale {
    public:
        Scale(Notes argTonality);
        Notes getTonic() {
            return tonality;
        };
        virtual Notes getSupertonic() = 0;
        virtual Notes getMediant() = 0;
        virtual Notes getSubdominant() = 0;
        virtual Notes getDominant() = 0;
        virtual Notes getSuperdominant() = 0;
        virtual Notes getSubtonic() = 0;
    protected:
        Notes tonality;
};

#endif