如何设置在iPhone SDK的音频文件或记录的音频文件的音高? [英] How to set pitch of an audio file or recorded audio file in iphone sdk?

查看:262
本文介绍了如何设置在iPhone SDK的音频文件或记录的音频文件的音高?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我重新编码的文件或我有音频文件,我想改变的音调和播放音频文件。我怎样才能设置间距正在使用Objective-C的一个iPhone程序。

I am recoding a file or I have audio file I want to change the pitch and play the audio file. How can I set the pitch in a iphone program that is using objective-c.

请大家帮我出这一点。

感谢您,
马丹磨憨。

Thank you, Madan Mohan.

推荐答案

您可以使用soundtouch开源项目来改变音调

You can use the soundtouch open source project to change pitch

下面是链接: http://www.surina.net/soundtouch/

一旦你添加soundtouch到你的项目,你必须给输入声音文件的路径,声音输出文件的路径和音高变化作为输入。

Once you add soundtouch to your project, you have to give the input sound file path, output sound file path and pitch change as the input.

由于需要更多的时间来处理您的声音它能够更好地修改soundtouch所以,当你录制的声音,直接给出的数据进行处理。它将使您的应用程序更好。

Since it takes more time to process your sound its better to modify soundtouch so that when you record the voice, directly give the data for processing. It will make your application better.

参考

实时变调在iPhone

创建变间距code?

这篇关于如何设置在iPhone SDK的音频文件或记录的音频文件的音高?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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