Live data from Hacker News

Audio Reactive LED Strips Are Diabolically Hard

scottlawsonbc.com

71–76 of 76 posts

Re: Audio Reactive LED Strips Are Diabolically Hard

#71

This reminds me of the various visualizations in WinAmp, and there was no shortage of creativity there! Geiss (sp?) anyone? It really whips the llama's ass!

MilkDrop has been dropping new versions since WinAmp stopped, and it runs without WinAmp (though WinAmp + all of the visualizers also still work on the newest Windows): https://www.milkdrop3.com/

Re: Audio Reactive LED Strips Are Diabolically Hard

#73
post #8
post #4

IANAE but I would go for electric circuit, not electronic software that steers the led. I think that nowadays, with the LLM support it can be easier and better to optimise it for the sake of latency.

If you want minimum latency, you want the input side of an traditional vocoder, not an FFT. This is the part that splits the modulator signal into frequency bands and puts each one through an envelope follower. Instead of using the outputs of the envelope followers to modulate the equivalent frequency bands of a carrier signal, you can use them to drive the visualizer circuit. That can be done with analog electronics…

Using LLM to target an FPGA would be interesting, generate the Verilog/VHDL.

Re: Audio Reactive LED Strips Are Diabolically Hard

#74
post #52

More than 20 years ago or so I made a small LED display that used a series of LM567 (frequency detection ICs) and LM3914 (bar chart drivers) to make a simple histogram for music. It was fiddly, and probably too inaccurate for a modern audience but I can't claim it was diabolically hard. Tuning was a faff but we were more willing to sit and tweak resistor and capacitor values then.

That would be “The Naive FFT”: “Most people who attempt audio reactive LED strips end up somewhere around here, with a naive FFT method. It works well enough on a screen, where you have millions of pixels and can display a full spectrogram with plenty of room for detail. But on 144 LEDs, the limitations are brutal. On an LED strip, you can't afford to "waste" any pixels and the features you display need to be more pe…

I had the benefits of each bucket width, centre and sensitivity being bespoke.

But like I said "perceptually meaningful" it wouldn't be. But what does that mean? My ears already do an excellent job of frequency analysis.

It was a good accompaniment to many songs and styles of music. I'm a way I enjoyed the experience of putting on an album and seeing some exciting effect. Bass drops were reliably good. Adeles early albums. Anything with a prominent beat was often fun.

Re: Audio Reactive LED Strips Are Diabolically Hard

#75
post #73
post #8

Earlier quoted context omitted.

If you want minimum latency, you want the input side of an traditional vocoder, not an FFT. This is the part that splits the modulator signal into frequency bands and puts each one through an envelope follower. Instead of using the outputs of the envelope followers to modulate the equivalent frequency bands of a carrier signal, you can use them to drive the visualizer circuit. That can be done with analog electronics…

Using LLM to target an FPGA would be interesting, generate the Verilog/VHDL.

much faster, above all, but this would be electronic signal processing with quantisation etc. I am targeting zero latency purely analog circuit. I'm not sure if FPGA can do it...

Re: Audio Reactive LED Strips Are Diabolically Hard

#76

> I think the future of audio visualization on LED strips will involve a mixture of experts tuned for different genres, likely using neural networks. I think its more likely going to come from a direct integration with existing synthesis methods, but .. I’m kind of biased when it comes to audio and light synthesizers, having made a few of each… We have addressed this expert tuning issue with the MagicShifter, which i…

> https://magicshifter.net/ I get a cert mismatch on that site, and when clicking the shop link I end up at https://hackerspaceshop.com/ which is advertising an online fax service.

Yes, we let those lapse alas, we’re working on it .. and yeah, we have had some fun times with the MagicShifter ..

https://www.youtube.com/results?search_query=Magicshifter+30...

.. and well, they’re not over (new firmware builds this week..)

https://github.com/magichsifter/ms4000

Post reply on HN