A Summer of Making Project by Addison and Patrick.
Funded by GitHub through Hack Club.
As of right now, the code contains both NodeJS files and Python files. Since I'm better in JS, I started by writing most in JS then switched to Python.
The ./testscripts/
folder contains most individual components of the application to be tested all at once. It is no longer maintained.
The ./nodetest/
folder is for the initial testing of the Audd.io API. It is no longer maintained.
Due to the data wire from the Raspberry Pi to the led strip acting as an antenna, and producing random, glitchy, flashing patterns, we decided to replace the data line as well as the common ground wire with a shielded wire taken from a scrap usb cable, which completely eliminated the display errors, even with a slightly longer wire from the pi to the led strip.
To adjust for bad colors in the display at some point, we used LED non-linearity compensation with a power vs intensity curve. We used the best tool ever for this: Desmos! Here's the link to the graph.
This is a repository dedicated to the smart album cover display.
Running on a Raspberry Pi, this recognizes the live music playing and displays it on a 16x16 grid made with LED strips.
Create an Audd.io API Key and place it in ./key
. You can use "test" as the key for up to 10 instances.
After installing all packages, run the following commmand:
$ python3 run.py
If that causes a permissions error, run
$ sudo python3 run.py
To set brightness 10%, run
$ python3 run.py 10
To run in testing mode (no screen), run
$ python3 run.py test
Python script records live audio, then uses the audd.io service for music recognition.
Then sets the pixels to whatever the album cover receives.
Note: authentication.py
doesn't do anything useful... yet!
See more at The Lab