Closed emurray2 closed 3 years ago
I've also already noticed one problem with reducing the size of the FFT buffer like I've done here. It seems to cause more frequency leakage in the low end possibly? But now I can see up to 22kHz at least.
I'm open to what others think as well. It's been a while since I learned about FFT windows, so I'll need some time to go back and refresh my knowledge.
@emurray2 i tried a different approach here: https://github.com/AudioKit/AudioKitUI/pull/25
I kept the same sized buffer but aggregated the frequencies together so they fit in the desired number of bars.
These changes make sure the
bufferSize
inFFTTap
match closely to thenumberOfBars
inFFTView
.