The guy has very graciously provided his code. It runs in Processing 3.3 and sends the data to the arduino.
There are 2 problems though, 1: the sound library he used is broken and I really don't know how to fix it, and 2: He uses a microphone to get the audio, I would much rather use a headphone jack.
There was another option which was to use the sparkfun spectrum shield but that only has 7 bands. I don't know much about audio but I belive that means I could only have 7 columns of LEDs. Is there a way to expand that to like, 30?
I really am lost at the moment. Could someone please point me to the right direction.
2: He uses a microphone to get the audio, I would much rather use a headphone jack.
Line-level or headphone-level is about right for the Arduino ADC, but the Arduino can't read the negative half of the AC audio waveform, so you just need to [u]bias[/u] the input (2 equal value resistors and a capacitor).
A microphone by itself won't work. But, you can buy a microphone board with a preamp and a biased output. (Or, you can get a microphone board with a digital output).
There was another option which was to use the sparkfun spectrum shield but that only has 7 bands. I don't know much about audio but I belive that means I could only have 7 columns of LEDs. Is there a way to expand that to like, 30?
No, the MSGEQ7 chip has a fixed number of filters.
It compiles alright now, but it doesn't upload, it's just gets stuck on uploading...
Then gives me this error:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x27
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x27
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x27
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x27
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x27
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x27
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x27
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x27
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x27
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x27
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
I think it's a chinese clone, I don't think that should be a problem though. It's never done this before. Just to make sure, I am supposed to use the Arduino/ Genuino Uno from the boards menu right?
By the way, if I PM you, is there still a 5 minute limit between posts?