Fixes for Raspberry Pi 3 and notmatt/audio-reactive-led-strip
Go to file
Scott Lawson 262206d359 Major changes to onset detection and visualization
Changes to config.py:
> Increased STFT rolling window size
> Added configurable options for setting the max and min FFT frequency

Changes to dsp.py:
> Significantly improved the normalized weighted phase deviation code.
This noticeably improves the onset detection accuracy.
> Logarithmic partitioning of the FFT bins now happens after onset
detection instead of before onset detection. This improves onset
detection accuracy at the expense of CPU time.
> Fixed a bug in the log_partition function which would sometimes cause
out of bounds errors
> Refactored and removed some functions that aren't needed anymore

Changes to sandbox.py:
> Sweeping changes to the visualization functions. The onset detection
functions are now combined after applying Gaussian blur to each onset
function individually. This improves the overall agreement between the
onset functions.
> Hyperbolic tan function is used to map saturated pixels to the range
[0, 1]
> Added a new rainbow generation function with more options than the old
one.
> Refactored most of the led update functions.
> The LED brightness is now being plotted instead of onsets
2016-10-24 16:42:03 -07:00
arduino/ws2812_controller Complete rewrite of most sections, added new onset detection 2016-10-22 21:55:22 -07:00
python Major changes to onset detection and visualization 2016-10-24 16:42:03 -07:00
.gitattributes 🎉 Added .gitattributes & .gitignore files 2016-10-12 14:44:03 -07:00
.gitignore Added .pyc to gitignore 2016-10-12 16:02:23 -07:00