I assume all the programing is was done in C? correct me if I'm wrong, I'm relatively new to programming and only know how to code in python and java... how do I run tell the computer to process the audio signal with the minim library... or does the code on you webpage do this all automatically?
@shadlock360 Processing code is Java, Arduino code is C, but it is similar enough to Java that it should not cause (much) difficulty. If you are not familiar with Processing, I suggest going to their web site and checking out their learning section to at least get the basics. Similar advice applies for the Arduino side. Adafruit has good tutorials as well. All of those sites have active and helpful forums.
Minim generally just uses the system default audio-input.
so this probably sounds like a stupid question, but I would really like to build this and trying to understand the entire thing... is the computer doing all the processing of the audio? or is it the Arduino that's doing the processing? If it is processing through my computer, how do I run that code?
I'm looking to build something similar that's self contained. So I would the Arduino to do everything, from capturing the sound from an electret microphone, processing, and then drive the LED strip. Do you have any suggestions?
If pure Arduino isn't a goal, and you can live with 7 bands, you can also look into the MSGEQ7 chip.
It seems to me that an Arduino-only display (or at least nearly so) is mostly an exercise in optimizing your frequency analysis algorithm on the Atmega. Low-level optimizations aren't really my thing, so I can't really help you further.
I assume all the programing is was done in C? correct me if I'm wrong, I'm relatively new to programming and only know how to code in python and java... how do I run tell the computer to process the audio signal with the minim library... or does the code on you webpage do this all automatically?
haha, I have much to learn ty
shadlock360 7 months ago
@shadlock360 Processing code is Java, Arduino code is C, but it is similar enough to Java that it should not cause (much) difficulty. If you are not familiar with Processing, I suggest going to their web site and checking out their learning section to at least get the basics. Similar advice applies for the Arduino side. Adafruit has good tutorials as well. All of those sites have active and helpful forums.
Minim generally just uses the system default audio-input.
mathfarmer 7 months ago
so this probably sounds like a stupid question, but I would really like to build this and trying to understand the entire thing... is the computer doing all the processing of the audio? or is it the Arduino that's doing the processing? If it is processing through my computer, how do I run that code?
thanks
shadlock360 7 months ago
@shadlock360 The basic flow is:
1. Audio signal is fed into Processing on the computer
2. Processing (via the Minim library) breaks the audio into frequency information, and uses that to determine which lights and colors to display
3. Processing sends the light color information to the Arduino
4. The Arduino then pretty much just passes the bytes it receives along to the lights via SPI.
mathfarmer 7 months ago
I'm looking to build something similar that's self contained. So I would the Arduino to do everything, from capturing the sound from an electret microphone, processing, and then drive the LED strip. Do you have any suggestions?
KirchAsh4 9 months ago
@KirchAsh4 You might look into:
fftarduino.blogspot.com/2011/02/color-organ-spectrum-analyzer-on.html
If pure Arduino isn't a goal, and you can live with 7 bands, you can also look into the MSGEQ7 chip.
It seems to me that an Arduino-only display (or at least nearly so) is mostly an exercise in optimizing your frequency analysis algorithm on the Atmega. Low-level optimizations aren't really my thing, so I can't really help you further.
mathfarmer 7 months ago
simple and cool, will try something similar at some point!
mandelum 9 months ago
@mandelum Thanks. Please let me know if you post a video of your project, I'd like to see it.
mathfarmer 7 months ago