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

Dependencies:   ClockControl PowerControl mbed

Committer:
kayekss
Date:
Tue Dec 23 21:50:53 2014 +0000
Revision:
6:cda45a5e723e
Parent:
3:cf57d7031c12
Supports "Panic on offline" feature when using MIDI-port input

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 3:cf57d7031c12 4 #define SAMPLING_RATE 32000ul
kayekss 0:727737138ac5 5 #define NUM_PERFORMER 1
kayekss 3:cf57d7031c12 6 #define NUM_INSTRUMENT_IN_PERFORMER 12
kayekss 0:727737138ac5 7 #define NUM_INSTRUMENT ((NUM_INSTRUMENT_IN_PERFORMER) * (NUM_PERFORMER))
kayekss 0:727737138ac5 8
kayekss 0:727737138ac5 9 // Power down unused uC's peripherals and Ethernet PHY chip
kayekss 0:727737138ac5 10 #define POWER_SAVE
kayekss 0:727737138ac5 11 // Boost system clock to 120 MHz
kayekss 0:727737138ac5 12 // (valid only when POWER_SAVE is also defined)
kayekss 3:cf57d7031c12 13 // #define CLOCKUP
kayekss 0:727737138ac5 14
kayekss 0:727737138ac5 15 typedef enum {
kayekss 0:727737138ac5 16 DUMP_NOTHING,
kayekss 0:727737138ac5 17 DUMP_EVENTS,
kayekss 0:727737138ac5 18 DUMP_INST,
kayekss 0:727737138ac5 19 DUMP_INST_DETAIL
kayekss 0:727737138ac5 20 } dumpmode_t;