开发者

FFT/Guitar Tuner on iOS [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Closed 9 years ago.

  • Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
  • Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Improve this question

I want to get the current frequeny from an input on ios for e.g. A guitar tuning app. The AurioTouch example is a little bit co开发者_如何学Gonfusing, is there any good example or possibility to do this is in an easy way? I know I Have to use FFT, but that's the point where it gets confusing for me. I'm happy for any hint on which framework I have to use. I hope someone can help me. Thanks.


Nothing iPhone specific, but some guidelines to what you need:

  • FFT is an algorithm, not a framework. Perhaps there is a library already containing the FFT-algorithm, though
  • You'll need direct microphone access, with the ability to use it as some sort of "sample-stream"
  • The FFT frequency result is obtained by running the algorithm over a length of samples

Quick google search on direct (live) microphone access:

  • iphone - How can i read the microphone input?
  • also inspect this library, seems to be abstraction of the OpenAL audio layer: http://maniacdev.com/2010/07/nice-easy-ios-openal-sound-library-open-source/

Hope it can push you in the right direction

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜