12-polyphonic "chiptune" MIDI synthesizer for LPC1768 (Standalone version)
Dependencies: ClockControl PowerControl mbed
Diff: GeminiCore.h
- Revision:
- 2:ca10e33bde0a
- Parent:
- 0:727737138ac5
- Child:
- 3:cf57d7031c12
--- a/GeminiCore.h Sun Nov 09 08:15:11 2014 +0000 +++ b/GeminiCore.h Wed Nov 12 23:46:31 2014 +0000 @@ -2,6 +2,7 @@ #define GEMINICORE_H_ #include <stdint.h> +#include "note.h" #include "Instrument.h" class GeminiCore { @@ -17,7 +18,7 @@ GeminiCore(uint8_t); ~GeminiCore(); - uint16_t makeSample(); + uint16_t makeSample(note_t*); bool enable(uint8_t); bool disable(uint8_t); bool noteOn(uint8_t, uint16_t, uint8_t);