BaseMachine Sequencer

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

Committer:
ryood
Date:
Mon May 01 08:24:22 2017 +0000
Revision:
24:ddc42cfb9384
Parent:
23:099d8f1b0914
Child:
25:ed2079e645fc
Add SpiSVFilterController Class

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ryood 0:1afb83a21a25 1 /*
ryood 0:1afb83a21a25 2 * BaseMachine_Common.h
ryood 0:1afb83a21a25 3 *
ryood 0:1afb83a21a25 4 * 2016.11.07
ryood 0:1afb83a21a25 5 *
ryood 0:1afb83a21a25 6 */
ryood 0:1afb83a21a25 7
ryood 0:1afb83a21a25 8 #ifndef _BASEMACHINE_COMMON_H_
ryood 0:1afb83a21a25 9 #define _BASEMACHINE_COMMON_H_
ryood 0:1afb83a21a25 10
ryood 0:1afb83a21a25 11 #define TITLE_STR1 ("BaseMachine Test")
ryood 24:ddc42cfb9384 12 #define TITLE_STR2 ("2017.05.01")
ryood 0:1afb83a21a25 13
ryood 0:1afb83a21a25 14 #define SEQUENCE_N (16)
ryood 7:a47420a0c4bf 15 #define PATTERN_N (8)
ryood 0:1afb83a21a25 16
ryood 0:1afb83a21a25 17 const int baseNoteNumber = 36;
ryood 0:1afb83a21a25 18
ryood 0:1afb83a21a25 19 // Initial Sequence
ryood 0:1afb83a21a25 20 const int noteOn[SEQUENCE_N] = { 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0 };
ryood 0:1afb83a21a25 21 const int pitch[SEQUENCE_N] = {36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36 };
ryood 0:1afb83a21a25 22 const int tie[SEQUENCE_N] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
ryood 0:1afb83a21a25 23 const int accent[SEQUENCE_N] = { 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 };
ryood 0:1afb83a21a25 24
ryood 0:1afb83a21a25 25 #endif //_BASEMACHINE_COMMON_H_