如何开发与混响功能的iPhone应用程序? [英] How to develop an iphone app with reverb functionality?

查看:234
本文介绍了如何开发与混响功能的iPhone应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发iPhone应用程序(如音频处理)。我不得不放弃对音频有一定的影响。
如果它是<一个href=\"http://developer.apple.com/library/mac/#documentation/MusicAudio/Conceptual/AudioUnitProgrammingGuide/Tutorial-BuildingASimpleEffectUnitWithAGenericView/Tutorial-BuildingASimpleEffectUnitWithAGenericView.html\">desktop应用,许多选择在那里。我们可以得到很好的例子和完整的项目一样大胆。但我想开发iPhone。

I am developing an iPhone application (like Audio Processing). I have to give some effect to the audios. If it is desktop app, many options are there. We can get good examples and full project like audacity. But I want to develop for iPhone.

我得到了与混响选择一个应用程序; (看看下面的链接)。刚才我看视频,我没有测试在我的iPhone设备此应用程序。
结果
<一href=\"http://www.appstorehq.com/reverb-iphone-89870/app\">http://www.appstorehq.com/reverb-iphone-89870/app

I got an app with reverb option; (take a look at following link). Just I watch the "video", I did not test this application in my iPhone device.
http://www.appstorehq.com/reverb-iphone-89870/app

我的问题是;我怎样才能开发出混响功能的应用程序?是否有任何文档?如果是这样,只是与我们分享。

My question is; How can I develop the app with reverb functionality ? Is there any documentation for that ? If it is, just share with us.

注意:我们可以使用AudioUnit发展与混响功能的应用程序(我不明白这一点。)。

NOTE: We can use AudioUnit to develop the app with reverb functionality (I am not clear with this.).

编辑:我不喜欢使用任何第三方库

I don't like to use any third party library.

如果有关于这方面的知识人,请与我们分享。

If anybody having knowledge about this, please share with us.

感谢。

推荐答案

如果yourre针对iOS5的你可以在音频单元亚型效果音频单元的kAudioUnitSubType_Reverb2。

if yourre targeting ios5 you can just the audio unit subtype kAudioUnitSubType_Reverb2 of the effect audio unit.

<一个href=\"https://developer.apple.com/library/ios/#documentation/AudioUnit/Reference/AUComponentServicesReference/Reference/reference.html\"相对=nofollow>混响单位

AudioComponentDescription auEffectUnitDescription;
    auEffectUnitDescription.componentType = kAudioUnitType_Effect;
    auEffectUnitDescription.componentSubType = kAudioUnitSubType_Reverb2;
    auEffectUnitDescription.componentManufacturer = kAudioUnitManufacturer_Apple;

AUGraphAddNode(
                              processingGraph,
                              &auEffectUnitDescription,
                              &auEffectNode), 

如果做不到这一点,你可以只写你自己的混响code在remoteio回调。一个简单的延迟可能会更容易做,听起来相似。

Failing that you could just write your own reverb code in the remoteio callback. A simple delay might be easier to do and would sound similar.

这篇关于如何开发与混响功能的iPhone应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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