Monday, October 6, 2014

Code for Audio Visualizations

I finally got around to cleaning up the code to my audio visualizations a bit and publishing it on BitBucket.

If you're interested, you can find it here:
https://bitbucket.org/htonoyan/audio-visualizer

Saturday, August 23, 2014

Wine Bottle Digital Clock

Circuit board done in Altium Designer. Took me a year to finally decide how to house the giant displays.

Will upload schematics/gerbers/code eventually.

Saturday, April 19, 2014

Light Show Now On Ubuntu

So my previous set up was pretty janky. If you've read my previous post, I had a win32 program using some APIs to get an audio stream, process the data and write "peak" values to stdio. This was then piped into a Python script which calculated the LED string colors and wrote them out serially using PySerial.

I re-wrote the audio capture code in Python using PyAudio. This is much cleaner now as the whole thing can be done in Python, and it works on Ubuntu!

I also had some graphics plotted really badly using win32 APIs. I rewrote that section of code using matplotlib so it looks much nicer now and is more responsive.

Saturday, February 15, 2014

A Valentine's Day Surprise

Update: Source code and hardware files can be found on this github page.



Last week I had the idea to create a last-minute valentine's day gift for my girlfriend. I had a bunch of WS2812 LEDs from my previous endeavors and decided to make a big LED heart. These are a great choice because of the very minimal amount of components necessary: no I/O expanders, driving transistors or ICs necessary. Plus you just need one I/O line from your microcontroller to drive them.