accelerate-framework

FFT on iPhone to ignore background noise and find lower pitches

南笙酒味 提交于 2019-11-27 01:12:15
问题 I have implemented Demetri's Pitch Detector project for the iPhone and hitting up against two problems. 1) any sort of background noise sends the frequency reading bananas and 2) lower frequency sounds aren't being pitched correctly. I tried to tune my guitar and while the higher strings worked - the tuner could not correctly discern the low E. The Pitch Detection code is located in RIOInterface.mm and goes something like this ... // get the data AudioUnitRender(...); // convert int16 to