Midi files light up blinkytape
Hello,
I wanted to see how I'd be able to do some programming to input a midi file to light up blinkytape's leds instead of using patternpaint. I've been using patternpaint to map the notes of a piano to the blinkytape leds and thought there has to be a quicker way to do this. What I'm envisioning is to grab a midi file online and drop it in a program, making blinkytape light up to the song. Thank you!
Bryan
Comments
Hi Bryan,
Really cool project! Have you gotten anywhere with it yet? A few ways to go about this would be:
Processing (processing.org) has a decent MIDI library, that can receive MIDI commands from other programs- it would be straightforward to write a MIDI-to-BlinkyTape converter, that accepts MIDI notes and sends commands to the BlinkyTape.
It looks like it's also possible to read MIDI files directly, and play them back:
https://forum.processing.org/two/discussion/16831/midi-load-and-play-midi-files-with-java-code-in-processing-3-help
Python also has good MIDI support, but it's more of a command-line based language. There is a MIDI library here that would work:
http://www.pygame.org/docs/ref/music.html