(no title)
strags
|
6 years ago
I discovered that my 17-month old son loves to mess with stereo controls. So I bought a few rotary encoders and neo-pixel rings - build a wooden enclosure with a plastic faceplate, and wrote some code to generate fancy light and audio effects when he turns/clicks the knobs. He loves it.
Sileni|6 years ago
ryanmercer|6 years ago
msoucy|6 years ago
1024core|6 years ago
strags|6 years ago
https://www.youtube.com/watch?v=xtE8oE9GOsM
Currently it's still running my test code, which just lets him mess with volume/pan/pitch. I need to get around to writing something a bit fancier.
Tech deets: It's just a RPi3 with most of the stuff written in Python. I tried to get a bunch of Python audio libs working, but gave up and wrote my own C++ module for sample mixing. The NeoPixel rings are driven via the SPI output, and the rotary encoders/switches are just hooked up to random GPIOs.
cloverich|6 years ago