Reads two PS2-keyboard and transmits MIDI commands. Includes arpeggiator and learn/replay mode.
The core of this project is an ATmega328 with an Arduino bootloader running at 16 MHz. It reads signals from the PS2-keyboards inside interrupt routines that listen to the CLK and DATA line from the keyboard, decodes the received bytes and places them into a first-level ringbuffer. A second stage consumes the bytes to assemble key-codes (carefully keeping track of key-up and key-down events) and fills second-level ringbuffers with key-events. These second-level ringbuffers are continuously monitored in the main loop of the program where the key-events are translated to MIDI sequences. The MIDI commands are subsequently transmitted via the serial line at 31250 baud such that MIDI devices can understand them.
The system features transposing notes and selecting MIDI channels as well as an arpeggiator that operates with two levels of complexity (chord level and harmonic sequence) and has a learn/replay mode.
Elektor Magazine is al 65 jaar een van de toonaangevende informatiebronnen op het gebied van elektronica voor ingenieurs, ontwerpers, start-ups en bedrijven. Ons magazine wordt ondersteund door een actieve community van elektronica-ingenieurs – van studenten tot professionals – die gepassioneerd zijn over het ontwerpen en delen van innovatieve ideeën.
Voor hen publiceren we jaarlijks honderden items in verschillende formats, zoals artikelen, video’s, webinars en andere leervormen. Onze missie is om kennis op elke mogelijke manier te delen en lezers te inspireren met de nieuwste ontwikkelingen binnen de elektrotechnische sector.
Bedankt voor uw beoordeling!
Voeg hieronder eventueel commentaar toe!
Bedankt voor uw beoordeling!
Reactie bij uw beoordeling plaatsen? Log hieronder in. Geen behoefte aan? Sluit dan gewoon dit venster.
Discussie (1 opmerking(en))