Steve Gutteridge

Skip Navigation Links

Raspberry Pi

Midi Stuff

To build a Midi interface for the Raspberry Pi, I found this site very helpful: http://www.siliconstuff.com/2012/08/serial-port-midi-on-raspberry-pi.html

I even managed to recycle an opto-isolator from an old analogue Modem circuit board, but if you do this, find the spec sheet for it and make sure its on/off time is at most about 15 microseconds. The first one I tried was about 35uS, and it didn't work fast enough for Midi data.

I also wrote a simple Midi message analyser in python, that you can Download Here. That text file, midianalyser.txt, should be renamed to midianalyser.py and made executable, thus:

mv midianalyser.txt midianalyser.py
chmod 744 midianalyser.py

And it can then be executed simply with:

./midianalyser.py

 

(c) Steve Gutteridge 2024

Web Design by The Planet Marzipan Ltd