Commit Graph

105 Commits

Author SHA1 Message Date
Niklas ffe05e793e cleanup 2019-02-20 15:02:44 +00:00
Niklas 0ba74fd6ed changes for raspberry pi 3 2019-02-20 14:51:19 +00:00
Matthew Bowley 48cb1018e9 Fixed effects and ws2812 controller fw
Final push to this fork unless other critical errors are found.
2018-03-04 20:21:34 +00:00
not-matt cd06d65e60
Lots of little updates behind the scenes 2018-02-27 20:12:08 +00:00
not-matt 35358e2d75
Main update
Lots of things, couple bits broken but mostly improved. Multiple devices, settings persistence, better colours, flexible gradients etc
2018-02-27 20:11:15 +00:00
not-matt 104253d7a3
Moving stuff around 2018-02-27 20:09:31 +00:00
not-matt 319825c769
Moving stuff around 2018-02-27 20:08:57 +00:00
not-matt ddc2fbc5b6
Moving stuff around 2018-02-27 20:08:40 +00:00
not-matt 979f386652
Moving stuff around 2018-02-27 20:08:23 +00:00
not-matt 7627a4490b
Moving stuff around 2018-02-27 20:08:04 +00:00
not-matt ea394e1929
Moving stuff around 2018-02-27 20:07:40 +00:00
not-matt 5f34c8d147
Delete gamma_table.npy 2018-02-27 20:07:23 +00:00
not-matt 1e3f7755d8
Rename python/dsp.py to python/lib/dsp.py 2018-02-27 20:06:52 +00:00
not-matt 244622c3ca
Moving stuff around 2018-02-27 20:06:25 +00:00
not-matt 54be7d5fe9
Moving stuff around 2018-02-27 20:05:50 +00:00
not-matt 1b2b1ded8b
Update microphone.py 2018-01-06 20:02:04 +00:00
not-matt 06f775fc92
Add files via upload
Added opts for amount of r,g,b in "Energy", "Spectrum", and "Scroll"
2017-12-28 18:03:09 +00:00
not-matt 3ae736bffe
Add files via upload
New effect: Power - [Preview](https://imgur.com/a/p6e9l)
Better beat/highs detection
Added processing latency indicator
2017-12-28 01:25:16 +00:00
not-matt 9e594b2e90
Update visualization.py
Better beat detection parameters with new mel scale
2017-12-27 16:49:15 +00:00
not-matt 5e68b99b28
Add files via upload
New effect: Bars
Better frequency scaling by modifying parameters in melbank.py
Mel graph [before](https://imgur.com/a/xN9PA), [after](https://imgur.com/a/YYGLk)
This stretches out the lower end with vocals and bass, and squishes up the high end which usually takes up moer space on the strip for similar "sounds". Now it looks more like you would expect it to, based on what you hear (more pitch-like than frequency)
2017-12-27 16:28:13 +00:00
not-matt 61f4defaee
Add files via upload
Added static effects, added new colour modes, improved gradient scrolling and mirroring, cleaned up stuff behind the scenes, added lots more options for different effects
2017-12-27 01:58:55 +00:00
not-matt 977f9a0df4
Merge pull request #2 from kanapoutz78/patch-2
Fix overflow bug for Raspberry Pi
2017-12-19 18:04:14 +00:00
kanapoutz78 c61db1b140
Fix overflow bug for Raspberry Pi
As fixed at :  https://github.com/scottlawsonbc/audio-reactive-led-strip/pull/73
2017-12-19 16:50:24 +01:00
kanapoutz78 c55c0f4cb9
Update visualization.py
In order to fit custom number of pixels
2017-12-19 16:43:14 +01:00
not-matt b0b45efcf4
Add files via upload
There, hopefully that's all where it's meant to be.
2017-12-18 20:50:27 +00:00
not-matt c90fc83224
Delete config.py 2017-12-18 20:49:45 +00:00
not-matt be7510dcc3
Delete dsp.py 2017-12-18 20:49:34 +00:00
not-matt e5f088b981
Delete gamma_table.npy 2017-12-18 20:49:27 +00:00
not-matt aff3dfd61d
Delete gui.py 2017-12-18 20:49:19 +00:00
not-matt 07d7674ba3
Delete led.py 2017-12-18 20:49:10 +00:00
not-matt 0853caa8d9
Delete melbank.py 2017-12-18 20:49:01 +00:00
not-matt d9fcf1ec14
Delete microphone.py 2017-12-18 20:48:51 +00:00
not-matt c21cff14a1
Delete visualization.py 2017-12-18 20:48:44 +00:00
Scott Lawson debd7f689f Fix bug where message bytes were in wrong scope 2017-01-30 07:32:09 -08:00
Scott Lawson ee0eda9a4c Change microphone.py, decodes data before callback
Microphone.py is now responsible for decoding audio data. The decoded data now passed to the callback function
2017-01-30 07:19:50 -08:00
Scott Lawson 35c26ca7bb Add many small performance optimizations
Over a dozen small performance optimizations 
* Memoization for linspace generation
* Removed unnecessary copies
* Limited the rate at which information is printed. Excessive `print()` output was causing issues for some SSH users
2017-01-30 07:17:59 -08:00
Scott Lawson d6bf763c67 Fix #20 ESP8266 can send multiple packets
Previously there was no limit to the number of bytes that could be sent per packet. This commit enforces a limit on the amount of pixel information per packet.
2017-01-30 07:11:07 -08:00
Scott Lawson fba8175e99 Add zero padded FFT calculation, could help #25
Zero pads the audio time samples until the length is equal to the next largest power of two. This improves the algorithmic complexity of the FFT calculations.

Initialized the Hamming window when the module is loaded instead of every loop.

Replaced a call to numpy.roll() with direct array index manipulation.
2017-01-29 00:41:13 -08:00
George Hopkins a74d404606 Fix unresponsive GUI on silence 2017-01-21 19:53:50 +01:00
Kevin Kellner 8d090913d6 Fixed missing import. 2017-01-06 19:49:21 +01:00
Kevin Kellner 1b39f92df8 Changed the Interrupt handling.
Now SIGTERM and SIGINT will be caught and the LEDs will be turned off.
2017-01-06 19:44:10 +01:00
Kevin Kellner b23bbc4d22 Changed type from int to long
For Python 3.5 compatibility.
2017-01-06 19:40:29 +01:00
Kevin Kellner 063889b23b Removed unnecessary brackets. 2017-01-06 15:26:00 +01:00
Kevin Kellner 9113f4258f Fixed typo 2017-01-06 15:21:46 +01:00
Kevin Kellner ad0751bc9e Added atexit listener that turns the leds of when the programm terminates. 2017-01-06 15:20:23 +01:00
Kevin Kellner 6c97a3f57d Changed default value back. 2017-01-06 15:06:55 +01:00
Kevin Kellner 67323cc1e5 Added support for blinkstick pro devices. 2017-01-06 15:03:37 +01:00
Scott Lawson 133c65d9b5 Fixed indenting bug 2017-01-05 20:42:52 -08:00
Scott Lawson 219eb2b62f Python 2.7 compatibility fix 2017-01-05 02:41:04 -08:00
Scott Lawson fdf79018ad Fixed bug where disabling gui caused error 2017-01-05 02:03:54 -08:00