![]() | MIDI Organ Interface Project - Keyboard Scanner |
|
|
| Overview of Keyboard Scanner | |||||
|---|---|---|---|---|---|
| Keyboard Scanner | Keyboard Module I/O | Schematic | Photo | Parts | Files |
![]() |
|
![]() |
![]() ![]() |
Parts List |
Gerber Files
Hex Program Code Program Source Code |
| MIDI Note Numbers |
The keyboard span is 5 octaves plus a high C (61 notes) The MIDI span is from note number 36 (c1) through middle C (note 60) to upper c6 (note 96) The intra-manual couplers add notes an octave below and/or above the note being played and the transpose shifts the notes up to an octave up or down, however the serial output and the MIDI output are each still limited to the same span of 61 notes from note number 36 through note number 96. |
| Processing |
1. The processor U1 scans the isolated keyboard contacts and stores them in memory.
2. The new state is further updated based on the coupler inputs (16', 8'off, 4') and by the transpose input. 3. The new state is compared to the previous state note by note 4. If ALL contacts are OFF, a timer is checked for the last PANIC transmission. If the timer exceeds 10 seconds, another PANIC message is sent to help minimize frozen notes. 5. Go back to 1. |
| MIDI |
MIDI processor U2 looks for any transmissions from the high-speed serial output. If a transmission is received, the corresponding MIDI message is composed and sent out via the MIDI output.
|