# Spectrum analyser Equalizer project how to go about it?

#### Maglatron

Jul 12, 2023
1,682
ok so I'm confused how do you map the frequencies to the columns and have the amplitude update every time the column moves to the next in line
I'm thinking of wiring up the leds in the configuration of ws2812b wiring diagram is it transposable to my led matrix

#### Maglatron

Jul 12, 2023
1,682
so say the cycling is 24 columns each for 25hz then 600 pulses each light will be on for 1/600 = 1.67milliseconds and I want to display the amplitude for this column each time the light is on gives me 1.67 second to process and display the leds which is pretty tight and the lights won't be on for long, I'm sure there is a more efficient way of doing this. help needed?

#### Maglatron

Jul 12, 2023
1,682
essentially I want this but I want 24 columns and 20 rows, but he didn't upload the code!!

#### Maglatron

Jul 12, 2023
1,682
I found the code it uses

### WS2812 LED panel​

can it be adapted to work with my 24 column 20 row (where the anodes are connected down the columns and the cathodes across the rows) the frequency goes from 32hz to 16khz logarithmically going from 32, 37.72, 44.5, 52.49, 61.96, 73.15, 86.35, 101.92, 120.22, 141.65, 167.01, 197, 231.49, 271.48, 318.23, 373.12, 437.88 515.5, 609.39, 722.35, 857.56, 1015.84, 1199.54, 16000 in Hz

#### Attachments

• esp32_spectrum_analyzer_32x16.ino
17.6 KB · Views: 0

#### bertus

Moderator
Nov 8, 2019
3,390
Hello,

There must be a failure in your frequency list.
You jump from 1199 to 16000.
What happens to the frequencies in between?

Bertus

#### Maglatron

Jul 12, 2023
1,682
not sure il work it out again does anybody have a .zip file for the esp32 because my internet does not allow me to download and add

#### Maglatron

Jul 12, 2023
1,682
ok how would you split the columbs from 32 on the left an 16000 on the left evenly spaced in between

#### Maglatron

Jul 12, 2023
1,682
perhaps these numbers are better

1. 41.5 Hz
2. 53.8 Hz
3. 69.8 Hz
4. 90.5 Hz
5. 117 Hz
6. 151 Hz
7. 196 Hz
8. 253 Hz
9. 328 Hz
10. 424 Hz
11. 549 Hz
12. 710 Hz
13. 917 Hz
14. 1186 Hz
15. 1532 Hz
16. 1980 Hz
17. 2559 Hz
18. 3306 Hz
19. 4265 Hz
20. 5489 Hz
21. 7050 Hz
22. 9032 Hz
23. 11631 Hz
24. 14955 Hz

#### Maglatron

Jul 12, 2023
1,682
Okay so I found this!
how do I add it to the arduino IDE? thanks

#### Harald Kapp

##### Moderator
Moderator
Nov 17, 2011
13,794
You know how to use a search engine?

#### Maglatron

Jul 12, 2023
1,682
I have tried that it doesn't work

Jul 12, 2023
1,682

#### Harald Kapp

##### Moderator
Moderator
Nov 17, 2011
13,794
it doesn't work
is not a helpful error description. How far did you get? Where are your problems?

Jul 12, 2023
1,682

#### Maglatron

Jul 12, 2023
1,682
is not a helpful error description. How far did you get? Where are your problems
I get to here

Jul 12, 2023
1,682

Jul 12, 2023
1,682

#### Maglatron

Jul 12, 2023
1,682
I run it and then it flashes up with a black cmd box momentarily

#### Maglatron

Jul 12, 2023
1,682
so im stuck for the moment

Replies
4
Views
8K
Replies
12
Views
5K
Replies
0
Views
3K
G
Replies
1
Views
2K
Michael A. Terrell
M
G
Replies
0
Views
1K
Graham
G