BaseMachine Sequencer V2
Dependencies: AT24C1024 Amp AverageAnalogIn BaseMachineUIController Envelope ExioBufferdController FilterController MCP23S17 OscController PinDetect RotaryEncoder Sequence SequencerDisplay mbed-rtos mbed st7567LCD
Fork of BaseMachine by
BaseMachineCommon.h
00001 /* 00002 * BaseMachine_Common.h 00003 * 00004 * 2016.11.07 00005 * 00006 */ 00007 00008 #ifndef _BASEMACHINE_COMMON_H_ 00009 #define _BASEMACHINE_COMMON_H_ 00010 00011 //#define USE_VCVS 1 00012 #define USE_SVF 1 00013 00014 #define TITLE_STR1 ("BaseMachine Test") 00015 #define TITLE_STR2 ("2017.05.23") 00016 00017 #if USE_VCVS 00018 #define TITLE_STR3 ("VCVS LPF Version") 00019 #elif USE_SVF 00020 #define TITLE_STR3 ("SVF Version") 00021 #endif 00022 00023 #define SEQUENCE_N (16) 00024 #define PATTERN_N (8) 00025 00026 const int baseNoteNumber = 36; 00027 00028 // Initial Sequence 00029 const int noteOn[SEQUENCE_N] = { 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0 }; 00030 const int pitch[SEQUENCE_N] = {36,36,36,36,36,36,36,36,36,36,36,36,36,36,36,36 }; 00031 const int tie[SEQUENCE_N] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; 00032 const int accent[SEQUENCE_N] = { 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 }; 00033 00034 #endif //_BASEMACHINE_COMMON_H_
Generated on Sun Jul 24 2022 16:24:47 by 1.7.2