Synthesizer / Mbed 2 deprecated DBSMUSICPROJ4

Dependencies:   mbed

Revision:
4:e56a755aeaf1
Parent:
1:5b491fa83cb7
Child:
12:c77c80e92dc1
--- a/variables.hpp	Wed Jul 24 12:24:05 2019 +0000
+++ b/variables.hpp	Wed Jul 24 15:06:20 2019 +0000
@@ -1,5 +1,8 @@
 #ifndef __variables__
 #define __variables__
+
+#define MAX_SAMPLES 18
+
 float vc;
 float vcshp;
 float vd;
@@ -27,4 +30,12 @@
 int sumnotes2 = 0;
 int sumoctives2 = 0;
 int sumduration2 = 0;
+
+int bufferHeader = 0;
+int bufferTail = MAX_SAMPLES-1;
+int dataHeader = 0;
+int dataTail = MAX_SAMPLES-1;
+bool loop = 0; //where 1 is looping
+int PlayPos = 0;
+int ToPlay = 0;
 #endif
\ No newline at end of file