Forum Discussion
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)
2 Replies
- Altera_Forum
Honored Contributor
What kind of motors are you using, how are they intended to generate a sound? By audible PWM frequency or by a specific rotation speed (e.g. driving a ratchet)?
Besides this special point the project is surely doable, just demanding your powers of imagination (or more specifically your logic design skills). - Altera_Forum
Honored Contributor
Just floopy drive motors, the frequency of the note is equal to the PWM frequency.
I've Never heard about driving a ratchet, it's sound fun too, maybe for my next project !