Kevin blogs at Simple DIY Electronic Music Projects a very nice project using a Pimoroni Unicorn Pack for the Raspberry Pi Pico to visualize MIDI music. The software is programmed in MicroPython (Pimoroni’s version with drivers built in).
The code makes use of my SimpleMIDIDecoder (details here) which makes acting on MIDI notes relatively straight forward. I’ve also include a “thru” function to allow notes to be played through the visualiser on to a sound module of some sort.
I’ve mapped MIDI notes onto pixels on the Unicorn display on an octave per row basis. This means there are four unused pixels on each row. To work out the (x,y) coordinates that corresponds to a MIDI note, I’ve included a midi2pixel routine
See the video above for a demo.
This so much reminds me of the fun of the scene in the movie Close Encounters of the Third Kind (1977)
No comments:
Post a Comment