12-polyphonic "chiptune" MIDI synthesizer for LPC1768 (Standalone version)
Dependencies: ClockControl PowerControl mbed
Diff: defs.h
- Revision:
- 3:cf57d7031c12
- Parent:
- 0:727737138ac5
diff -r ca10e33bde0a -r cf57d7031c12 defs.h --- a/defs.h Wed Nov 12 23:46:31 2014 +0000 +++ b/defs.h Tue Nov 18 17:05:49 2014 +0000 @@ -1,15 +1,16 @@ #define BUFFER_LENGTH 2048 #define SYSEX_BUFFER_LENGTH 128 +#define SAMPLING_RATE 32000ul #define NUM_PERFORMER 1 -#define NUM_INSTRUMENT_IN_PERFORMER 16 +#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 +// #define CLOCKUP typedef enum { DUMP_NOTHING,