audio-reactive-led-strip icon indicating copy to clipboard operation
audio-reactive-led-strip copied to clipboard

Removing scipy?

Open JayBeAl opened this issue 3 years ago • 1 comments

I was trying to run the visualization script on my smartphone with termux. The problem is to get scipy running. After trying several hours try to get scipy working i surrendered. I then viewed the visualization.py code and saw, that there are only a few lines of code used from scipy. So why not just implement an own easy 1d gauss filter to remove the scipy dependency, which is a cause of many problems in this project? I found my solution here, didnt test it yet, but i'll report my results:

https://stackoverflow.com/questions/11209115/creating-gaussian-filter-of-required-length-in-python

JayBeAl avatar Jul 12 '22 09:07 JayBeAl

Feel free to test this and report back, if it doesn't cause a performance hit it might be worth it.

joeybab3 avatar Sep 12 '22 18:09 joeybab3