Closed edlins closed 6 years ago
Now have a simple VU-meter. Captures from the mic (only processing 1st channel right now), computes EMA of samples, and drives all PWM to normalized EMA.
Add a device to https://github.com/linuxgnuru/pivumeter ..?
Nope. Evaluated pivumeter and latency is far too high.
Now have 16 FFTW bins driving PWM channels. Tuning the bin frequencies for aesthetic response to musical frequencies.
good enough! merged #66 to develop.
Add a spectrum analyzer example app.
USB audio input optionally use GPU_FFT for fast fourier transform optionally 16 channels = 16 frequency bins (directly set PWM levels), or 5 RGBs = 5 frequency bins = 15 channels (HSV dim blue to bright red) + 1 channel BPM detection
Resources: https://stackoverflow.com/questions/4364823/how-do-i-obtain-the-frequencies-of-each-value-in-an-fft