Commit Graph

146 Commits

Author SHA1 Message Date
not-matt
7507cc0be2
Add files via upload
Updated with a fresh gui, customisable settings, more effects, and a lot more class.
2017-12-18 20:33:22 +00:00
Scott Lawson
2b5862de78 Clarify Raspberry Pi pin connections, required parts 2017-03-08 21:40:45 -08:00
Scott Lawson
b5483fdd7d Add note about Pi logic inverting (issue #32) 2017-02-13 17:55:40 -08: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
5fe2f71bea Change title to proper capitalization and spacing 2017-01-30 02:58:31 -08:00
Scott Lawson
09266f06a7 Add info about odd pixel numbers #22 #26
Add limitation note saying that even numbers of pixels must be used. Clarify that the 256-pixel maximum limitation only applies to the ESP8266. Add note saying that these restrictions will be fixed in a future update
2017-01-30 02:45:23 -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
Scott Lawson
875943d6a1 Add more info about opening GitHub Issues. 2017-01-28 17:45:19 -08:00
Scott Lawson
4f149edcd4 Merge pull request #24 from Legorobotdude/master
Added information about Stereo Mix to ReadMe
2017-01-28 17:40:48 -08:00
Scott Lawson
bbe8acff77 Add new section to provide into about audio device
Move Stereo Mix info into a new section called "Audio Input". Add some additional information about virtual audio devices for Linux and OSX as well. Add new block diagram showing the different input topologies.
2017-01-28 17:39:16 -08:00
Scott Lawson
62cd7ee332 Add diagram of audio input sources
Add block diagram showing how the audio visualization program can use a physical or virtual audio input source
2017-01-28 16:32:40 -08:00
Aditya Bawankule
18fdd0ff49 Added information about Stereo Mix to ReadMe
Also added images to help
2017-01-28 00:45:59 -06:00
Scott Lawson
5c44d233da Merge pull request #19 from george-hopkins/fix-silence
Fix unresponsive GUI on silence
2017-01-21 14:48:17 -08:00
George Hopkins
a74d404606 Fix unresponsive GUI on silence 2017-01-21 19:53:50 +01:00
Scott Lawson
a92991bead Updated readme license section 2017-01-18 22:42:37 -08:00
Scott Lawson
a218a04cb8 Merge pull request #8 from kevinkellner/master
BlinkstickPro support
2017-01-12 07:45:50 -08:00
Scott Lawson
6310af5300 Added information about a missing arduino dependency 2017-01-09 17:20:29 -08: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
c45322615f Encourage users to open new issues 2017-01-05 11:38:51 -08:00
Scott Lawson
8697b20a6c Smaller image of GUI 2017-01-05 11:29:52 -08:00
Scott Lawson
c6bffc7333 Updated GUI image to reflect recent changes 2017-01-05 11:26:26 -08:00
Scott Lawson
af7c014166 Removed reference to dependency that is not actually needed 2017-01-05 04:07:00 -08:00
Scott Lawson
66735ba75d Removed section about headless operation 2017-01-05 03:47:38 -08:00
Scott Lawson
61ad091f96 Added of losts of information for raspberry pi 2017-01-05 03:44:24 -08:00
Scott Lawson
219eb2b62f Python 2.7 compatibility fix 2017-01-05 02:41:04 -08:00
Scott Lawson
d828f5a273 Merge remote-tracking branch 'refs/remotes/origin/master' into raspberry-pi-support 2017-01-05 02:10:34 -08:00
Scott Lawson
fdf79018ad Fixed bug where disabling gui caused error 2017-01-05 02:03:54 -08:00
Scott Lawson
b31d9c60c8 Put gif above block diagram 2017-01-05 01:37:15 -08:00
Scott Lawson
a51fa3cc2c One block diagram instead of two 2017-01-05 01:33:45 -08:00
Scott Lawson
feb05f375f Updated README to reflect RPi support 2017-01-05 01:29:53 -08:00
Scott Lawson
c0ed75d298 Changed default IP to match ESP8266 firmware 2017-01-05 00:14:23 -08:00
Scott Lawson
75d8e8d9f7 Typo 2017-01-05 00:13:39 -08:00
Scott Lawson
32cea53ea1 Fixed typo 2017-01-05 00:13:14 -08:00
Scott Lawson
9837fec3b9 Added more information about device setting in config.py 2017-01-05 00:12:28 -08:00
Scott Lawson
7092f5d9d0 Merge pull request #1 from joeybab3/patch-1
Added FPS output
2017-01-05 00:03:39 -08:00
Scott Lawson
e95cef5a99 Replaced "if" with "#if", changed int to uint32_t
Replaced if statements with #if preprocessor macros.
Replaced one #ifdef macro with #if.
Changed `int secondTimer` to `uint32_t secondTimer` to avoid signed/unsigned integer comparison. The `millis()` function returns `uint32_t`.
Removed asterix output from FPS output.
2017-01-05 00:02:43 -08:00
Scott Lawson
40dd5fa42f Merge remote-tracking branch 'refs/remotes/origin/master' into raspberry-pi-support 2017-01-04 23:21:28 -08:00
Scott Lawson
0f29d7c614 Minor PEP8 formatting change 2017-01-04 23:21:09 -08:00
Scott Lawson
565aada7af Increased temporal dithering amount in ESP8266 firmware 2017-01-04 22:12:32 -08:00