计算与苹果的auriotouch例如频率 [英] calculating frequency with apple's auriotouch example

查看:307
本文介绍了计算与苹果的auriotouch例如频率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的工作,需要从一个吉他捕捉声音的频率的程序。我已经通过使用具有最高幅值的频率修改aurioTouch例以输出的频率。它的工作原理确定为高音符,但在较低的弦非常不准确。我相信这是由于弦外之音。我研究了如何解决这个问题,如倒谱分析方法,但我失去了对如何实现这个例子code之内,因为它是不明确,难以遵循无评论。任何帮助将大大AP preciated,谢谢!

I am working on a program that needs to capture the frequency of sound from a guitar. I have modified the aurioTouch example to output the frequency by using the frequency with the highest magnitude. It works ok for high notes but is very inaccurate on the lower strings. I believe it is due to overtones. I researched ways on how to solve this problem such as Cepstrum Analysis but I am lost on how to implement this within the example code as it is unclear and hard to follow without comments. any help would be greatly appreciated, thanks!

推荐答案

当你已经发现,音高是不一样​​的峰值频率。

As you have discovered, musical pitch is not the same as peak frequency.

但是,试图以调查算法尝试与实时音频不是容易的工作。

But trying to investigate algorithms while trying to work with real-time audio is not easy.

我建议你分开的问题。记录一些音乐声音(吉他拨弄等)在Mac上为原始的声音文件。试试这些记录样本集您选择的间距估计算法。然后,你得到这个工作后,弄清楚如何将code融入iOS的音频和加速(用于FFT)的框架。

I suggest you separate the problems. Record some music sounds (guitar plucks, etc.) on your Mac into raw sound files. Try your chosen pitch estimation algorithms on these recorded sample sets. Then, after you get this working, figure out how to integrate your code into the iOS audio and Accelerate (for FFT) frameworks.

这篇关于计算与苹果的auriotouch例如频率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆