test publish

Dependencies:   mbed GroveEarbudSensor

Revision:
5:ee265ab0752d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GypsyScale.cpp	Fri Mar 25 11:17:39 2016 +0000
@@ -0,0 +1,31 @@
+#include "GypsyScale.h"
+
+Notes GypsyScale::getSupertonic()
+{
+    return (Notes) ((int)tonality + 2) ;
+}
+
+Notes GypsyScale::getMediant()
+{
+    return (Notes) ((int)tonality + 3 );
+}
+
+Notes GypsyScale::getSubdominant()
+{
+    return (Notes) ((int)tonality + 6);
+}
+
+Notes GypsyScale::getDominant()
+{
+    return (Notes) ((int)tonality + 7);
+}
+
+Notes GypsyScale::getSuperdominant()
+{
+    return (Notes) ((int) tonality + 8) ;
+}
+
+Notes GypsyScale::getSubtonic()
+{
+    return (Notes) ((int)tonality + 11) ;
+}
\ No newline at end of file