Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Amp AverageAnalogIn BaseMachineUIController Envelope ExioBufferdController FilterController MCP23S17 PinDetect RotaryEncoder Sequence SequencerDisplay mbed-rtos mbed st7567LCD AT24C1024 OscController
BaseMachineCommon.h
- Committer:
- ryood
- Date:
- 2016-11-25
- Revision:
- 13:35ffba73d263
- Parent:
- 11:eb9e72bf529c
- Child:
- 17:bc1f0fea5bc9
File content as of revision 13:35ffba73d263:
/*
* BaseMachine_Common.h
*
* 2016.11.07
*
*/
#ifndef _BASEMACHINE_COMMON_H_
#define _BASEMACHINE_COMMON_H_
#define TITLE_STR1 ("BaseMachine Test")
#define TITLE_STR2 ("20161126")
#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_