Trying to create a 3d Audio Spectrum Analyzer

I have managed to create two 8x8x8 cubes using the Pixel Leds (ws2811) with Arduino Nano.

Now I would want to use these to create a 3d Audio Spectrum Analyzer.

Reading on the Internet, I found that this is doable. Somewhere I also read that the FFT library can help - What Is FFT and How Can You Implement It on an Arduino? – Norwegian Creations

However, I am not quite able to understand this library - my being poor in Maths and being a Humanities student all my life - probably that is why!

I would be thankful if someone of you could point me in the right direction or, as they say, show me the path.

Here is what I intend to do -

  1. Take the stereo input from my laptop
  2. Split it into two such that I can connect it to the Arduino as well as to the Speaker - there is a splitter I belileve for this job.
  3. Get the Input to Arduino - probably I would need two Arduinos as there are two channels (stereo!) - and input that to the Analog pins - some resistors or other components may be needed here, but I am not aware of what.
  4. Process the incoming frequency? and raise the voltage levels somehow such that these signals can be understood and used
  5. Output these to the Cubes.

But as I mentioned, I never can do this without someone showing me the route.

Stay Safe and thanks in advance.

Very interesting..

I am not able to help you.. i don´t know would you need two arduinos. maybe teensy it´s the correct option for audio signals..sorry..

Maybe you want to do it first with volume levels on the two stereo signals..
This it´s the place where everything begins for me..
Maybe you take a look at this or this.
I wish could help you , a little

It should be possible using just one Arduino, although I can’t imagine what a three dimensional representation of a spectrum would look like as it is basically a two dimensional data set.

Start of with a FFT library and run the example code that comes with it. You will need to amplify your Audio source to get it into the range of 5V peak to peak and then AC couple this into your analogue input. That means connect it with a series capacitor. Then a 100K pull up and pull down to give it a bias.

You do not need a splitter for the Audio just simply have two sockets wired in parallel as a through path and tap off the two audio signals you want.

It just means 3D wireframe graphics of a barchart, apparently.

I'd suggest crawling before walking, walking before runnng, so phase the project into

  1. interfacing audio signals
  2. adding an FFT library
  3. doing graphics, 2D
  4. adding 3D to the graphics.

Trying to do everything at once will likely fail.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.