I didn't want to spend 100$ on AKAI MPD. I thought I can make one myself.
So i bought a bunch of buttons, two 74151 multiplexers, an Arduino Uno and went to work.
The program is very simple. It scans through all buttons (two buttons at time thanks to two multiplexeres), debounces buttons if needed and sends midi command through serial port (source code in links).
On the other side of serial is PC with Hearless Serial to Midi software. This magnificent program converts serial input into midi commands. Then it can be used in all sorts of programs like FL Studio or ableton.
If I ever make second version of it I will
1. use better (connected with each other) cables
2. use shift registers to read all buttons state at once.
3. use better (more silent) buttons
Still it works like a charm and I'm left with 100$ in my pocket :)
Hanging pin on multiplexer is always 1 (if you use TTL multiplexer at least like 74151). I used this idea and connected buttons to ground and the other side of the buttons to multiplexer IN pins. so when button is pressed multiplexer reads 0. So the logic is turned around there.
Than it is normal multiplexer scanning (going through all the addresses of multiplexer and reading all the inputs on the OUT pin of multiplexer).
you have the wiring diagram? your project is amazing!