test publish
Dependencies: mbed GroveEarbudSensor
Diff: Scale.h
- Revision:
- 5:ee265ab0752d
- Child:
- 6:7cc8a333e03b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Scale.h Fri Mar 25 11:17:39 2016 +0000 @@ -0,0 +1,22 @@ +#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 \ No newline at end of file