12-polyphonic "chiptune" MIDI synthesizer for LPC1768 (Standalone version)

Dependencies:   ClockControl PowerControl mbed

Committer:
kayekss
Date:
Sun Nov 09 08:00:33 2014 +0000
Revision:
0:727737138ac5
Child:
3:cf57d7031c12
12-polyphonic "chiptune" MIDI synthesizer for mbed LPC1768 (Standalone version)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
kayekss 0:727737138ac5 1 #define BUFFER_LENGTH 2048
kayekss 0:727737138ac5 2 #define SYSEX_BUFFER_LENGTH 128
kayekss 0:727737138ac5 3
kayekss 0:727737138ac5 4 #define NUM_PERFORMER 1
kayekss 0:727737138ac5 5 #define NUM_INSTRUMENT_IN_PERFORMER 16
kayekss 0:727737138ac5 6 #define NUM_INSTRUMENT ((NUM_INSTRUMENT_IN_PERFORMER) * (NUM_PERFORMER))
kayekss 0:727737138ac5 7
kayekss 0:727737138ac5 8 // Power down unused uC's peripherals and Ethernet PHY chip
kayekss 0:727737138ac5 9 #define POWER_SAVE
kayekss 0:727737138ac5 10 // Boost system clock to 120 MHz
kayekss 0:727737138ac5 11 // (valid only when POWER_SAVE is also defined)
kayekss 0:727737138ac5 12 #define CLOCKUP
kayekss 0:727737138ac5 13
kayekss 0:727737138ac5 14 typedef enum {
kayekss 0:727737138ac5 15 DUMP_NOTHING,
kayekss 0:727737138ac5 16 DUMP_EVENTS,
kayekss 0:727737138ac5 17 DUMP_INST,
kayekss 0:727737138ac5 18 DUMP_INST_DETAIL
kayekss 0:727737138ac5 19 } dumpmode_t;