I made a spectrum analyzer, but I'm struggling to find a range where I can cover the most instruments, but also still make the bars visible.
I tried the range 20Hz - 800 Hz but seems like some songs I miss out on instruments. So, I tried to 20Hz - 2000 Hz.
I can see that drum and bass are in the lower region (20-200), I see that the piano is in the 400-700 range.
These are the ranges I show. The actual range I can show is up to 1/2 of the sample rate. (Most likely 24000 Hz)
Thus, the question arises "What frequency range fits the most songs in? Looking at Pop, Rock, House, Rap, etc."
Edit: I want to gain knowledge with a spectrum analyzer for my next project which is an Arduino with LEDs that change color based on the frequency of the music.
As for limit of the analyzer. It should make catch the most common frequencies.