BaseMachine Sequencer

Dependencies:   Amp AverageAnalogIn BaseMachineUIController Envelope ExioBufferdController FilterController MCP23S17 PinDetect RotaryEncoder Sequence SequencerDisplay mbed-rtos mbed st7567LCD AT24C1024 OscController

Revision:
0:1afb83a21a25
Child:
4:49c60d28fa09
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/BaseMachineCommon.h	Wed Nov 09 05:43:04 2016 +0000
@@ -0,0 +1,24 @@
+/*
+ * BaseMachine_Common.h
+ *
+ * 2016.11.07
+ *
+ */
+ 
+#ifndef _BASEMACHINE_COMMON_H_
+#define _BASEMACHINE_COMMON_H_
+
+#define TITLE_STR1  ("BaseMachine Test")
+#define TITLE_STR2  ("20161109")
+
+#define SEQUENCE_N  (16)
+
+const int baseNoteNumber = 36;
+
+// Initial Sequence
+const int noteOn[SEQUENCE_N] = { 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0 };
+const int pitch[SEQUENCE_N]  = {36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36 };
+const int tie[SEQUENCE_N]    = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
+const int accent[SEQUENCE_N] = { 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 };
+
+#endif //_BASEMACHINE_COMMON_H_