使用FFT实时基音检测 [英] Real-time pitch detection using FFT

查看:446
本文介绍了使用FFT实时基音检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用C ++做实时基音检测。我测试从performous一些code( http://performous.org/ ),因为一切不是招'T为我工作。我知道肯定是这个工程,但我只是不能得到它的工作。我一直在想这几个星期,我一直没能得到任何基音检测code工作。

I'm trying to do real-time pitch detection using C++. I'm testing some code from performous (http://performous.org/), because everything else hasn't worked for me. I know for sure that this works, but i just cant get it to work. I've been trying this for a few weeks now, and I haven't been able to get any pitch detection code working.

推荐答案

而不是使用麦克风输入,你应该创建一个称为单一频率的数据和运行,通过该程序,看看它是否让你正确的结果。然后,你可以添加谐波,看看是否可行。现实世界中的数据仅仅是初步测试过的变量。

Instead of using input from the mic, you should create data of a known single frequency and run that through the program and see if it gets you the correct result. Then you can add harmonics to it and see if that works. Real world data is just too variable for initial testing.

这篇关于使用FFT实时基音检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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