12-polyphonic "chiptune" MIDI synthesizer for LPC1768 (Standalone version)
Dependencies: ClockControl PowerControl mbed
note.h@6:cda45a5e723e, 2014-12-23 (annotated)
- Committer:
- kayekss
- Date:
- Tue Dec 23 21:50:53 2014 +0000
- Revision:
- 6:cda45a5e723e
- Parent:
- 0:727737138ac5
Supports "Panic on offline" feature when using MIDI-port input
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
kayekss | 0:727737138ac5 | 1 | #ifndef NOTE_H_ |
kayekss | 0:727737138ac5 | 2 | #define NOTE_H_ |
kayekss | 0:727737138ac5 | 3 | |
kayekss | 0:727737138ac5 | 4 | typedef struct { |
kayekss | 0:727737138ac5 | 5 | uint32_t noteOnMs; |
kayekss | 0:727737138ac5 | 6 | uint8_t channel; // channel. 0: not in use, 1..16 is valid |
kayekss | 0:727737138ac5 | 7 | uint8_t noteNumber; |
kayekss | 0:727737138ac5 | 8 | uint8_t velocity; |
kayekss | 0:727737138ac5 | 9 | } note_t; |
kayekss | 0:727737138ac5 | 10 | |
kayekss | 0:727737138ac5 | 11 | #endif |