Altera_Forum
Honored Contributor
9 years agoMIDI Manager
Hello,
I'm working on a little project, basically a synth made of motors. My entry is a MIDI keyboard connected to my cyclone IV and the output is 8 pwm channel connected to the motors in order to create a sound. With the help of this forum I have been able to deal with the receiption of the MIDI signal, basically an UART. Now I'm trying to figure out the best choice concerning the architecture of my MIDI manager, I came up with two solutions and I need some help to decide what is best. The MIDI signals used are made of 3 bytes :- 1st is NOTE ON (0x90) or OFF (0x80) + channel ( fixed to 0 in my case ), <=> key pressed or released
- 2nd is the NOTE NUMBER <=> wich key
- 3nd is the velocity <=> how hard you push the key (not used in my project)