Frequency Range of Auriotouch
Does anybody know what the frequency range of auriotouch is in FFT mode? Also, where is it defined in the code if possible. I've been digging through it, but am not开发者_如何学编程 very familiar with FFT or frequency calculation so am not having much luck. I've also done some googling and searching on stackoverflow and have not found results there either. Thanks for the help in advance.
An FFT's frequency range is (sampleRate/2)/nbins - (sampleRate/2)
The aurioTouch code doesn't set the sampleRate, but it does get the hardware's sample rate at aurioTouchAppDelegate.mm:300
So, in the case of aurioTouch, the frequency range is going to be half whatever the current hardware sample rate is.
The default range on the app is from 0 to 22050 but the amplitude around 22050Hz is not accurate. Also, not every frequency is displayed, only every other 21.53Hz (22050/1024) is calculated.
The defaults can be modified from the auriohelper file but doubt you can go anywhere higher than 22.05KHz.
精彩评论