12-polyphonic "chiptune" MIDI synthesizer for LPC1768 (Standalone version)
Dependencies: ClockControl PowerControl mbed
defs.h
- Committer:
- kayekss
- Date:
- 2014-12-23
- Revision:
- 6:cda45a5e723e
- Parent:
- 3:cf57d7031c12
File content as of revision 6:cda45a5e723e:
#define BUFFER_LENGTH 2048 #define SYSEX_BUFFER_LENGTH 128 #define SAMPLING_RATE 32000ul #define NUM_PERFORMER 1 #define NUM_INSTRUMENT_IN_PERFORMER 12 #define NUM_INSTRUMENT ((NUM_INSTRUMENT_IN_PERFORMER) * (NUM_PERFORMER)) // Power down unused uC's peripherals and Ethernet PHY chip #define POWER_SAVE // Boost system clock to 120 MHz // (valid only when POWER_SAVE is also defined) // #define CLOCKUP typedef enum { DUMP_NOTHING, DUMP_EVENTS, DUMP_INST, DUMP_INST_DETAIL } dumpmode_t;