Physical LED visuals for a music track inspired by the Oliwa Woods.
This fun project was built and recorded during the MusicJam 2022 musical hackathon. The theme of the hackathon was (un)usual sounds, particularly related to Gdańsk.
Our team consisted of:
- Leszek and myself doing the hardware/software part,
- Alek playing the solo,
- Ralph doing field recording in the Oliwa Woods, composing music, and arranging it.
During the 8 hours of the hackathon we worked on a project titled "Lasy Oliwskie" ("Oliwa Woods").
We used Ableton Live with MIDI out to Raspberry Pi Picos, some LED rings, a LED matrix, two grocery bags as diffusers, and some paper cups.
The end result was a music track, an illuminated tree reacting to bass guitar, and illuminated "moss" reacting to the beat.
Solder the wires (or JST connectors) to the Pi Picos. The red wire should go to VBUS, white one to GND, and green one to GP28 (pins 40, 38, 34 respectively).
For the moss, just place the LED matrix on a surface and connect it to one of the Picos. Optionally add diffuser.
The tree is a little bit more complicated, but the general idea is to have the LED rings connected starting from the biggest one to the smallest one. We used a paper cup as a base for the 35LED ring, pulled some cardboard through the center, and then attached the rest.
The code for the tree is in the drzewo subdirectory.
The code for the moss is in the mech subdirectory.
Drzewo and mech are Polish for tree and moss.
The code is written in CircuitPython and uses some additional libraries. The easiest way to install them is with circup
For the moss controller run:
circup install -r mech/requirements.txt
For the tree controller run:
circup install -r tree/requirements.txt
After that, install smolmidi by copying it to the lib directory on your Picos.
Finally, copy the code.py from both subdirectories onto the respective Picos.
3
Installing Ableton
This project requires you to have Ableton installed on your machine. Free 90-day trial is available that lets you play and experiment, but you won't be able to save any changes to your project.
On MacOS, you can get it with brew install ableton-live-standard.
In Ableton Live (Standard or Suite, Lite does not have MIDI out), select Live->Preferences on Mac (Options->Preferences on Windows).
Find the MIDI tab and make sure Pi Pico has a checkmark next to the output device.