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
- Committer:
- ryood
- Date:
- 2017-05-04
- Revision:
- 27:173ad2312d03
- Parent:
- 25:ed2079e645fc
- Child:
- 28:407c9f46a07c
File content as of revision 27:173ad2312d03:
/* * BaseMachine_Common.h * * 2016.11.07 * */ #ifndef _BASEMACHINE_COMMON_H_ #define _BASEMACHINE_COMMON_H_ //#define USE_VCVS 1 #define USE_SVF 1 #define TITLE_STR1 ("BaseMachine Test") #define TITLE_STR2 ("2017.05.04") #if USE_VCVS #define TITLE_STR3 ("VCVS LPF Version") #elif USE_SVF #define TITLE_STR3 ("SVF Version") #endif #define SEQUENCE_N (16) #define PATTERN_N (8) 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_