如何将混响滤波器或任何其他声音效果应用于.wav声音文件? [英] How to apply reverb filter or any other sound effect to a .wav sound file?

查看:133
本文介绍了如何将混响滤波器或任何其他声音效果应用于.wav声音文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在我的ipad应用中将混响滤镜应用到我的声音文件中。
我刚在apple文档中找到了关键字AVMetadataID3MetadataKeyReverb,但无法获得如何使用它。
这是从iOS 4.0添加的。

I need to apply the reverb filter to my sound file in my ipad app. I just found a keyword AVMetadataID3MetadataKeyReverb in the apple documentation, but not able to get how to use it. This has been added from iOS 4.0.

推荐答案

AVMetadataID3MetadataKeyReverb常量表示RVRB字段和ID3(V2) tag - 它只是一段元数据,是音频容器文件(如MP3)的一部分。
常量与将一个实际的混响效果应用于一段音频数据无关,而是在使用AV Foundation从音频文件中检索它们时识别ID3标签的不同部分...后来当一个支持音频播放器播放那些读取标签的文件,并在播放文件时实时应用不同的滤镜(如混响滤镜)。

The AVMetadataID3MetadataKeyReverb constant represents the RVRB field of and ID3(V2) tag - which is simply a piece of metadata that's part of an audio container file (like MP3). The constant isn't related to applying an actual reverb effect to a piece of audio data, but to identifying different parts of ID3 tags when using the AV Foundation to retreive them from an audio file... Later when a supporting audio player plays those files it reads the tags and applies different filters (like the Reverb one) in real time while playing the file.

如果你想修改这个值,你必须使用一些外部库,因为Audio Toolbox只知道如何读取不写入它们的ID3标签。查看 TagLib

If you want to modify this value, you'll have to use some external library as Audio Toolbox only knows how to read ID3 tags not writing them. Check out TagLib

如果您想对某些音频数据应用效果,请查看 BASS ,他们有一个iPhone库,还有许多效果,包括混响。可能有其他选择。

If you want to apply effects to some audio data check out BASS, they have an iPhone library, and many effects including reverb. There might be alternatives though.

这篇关于如何将混响滤波器或任何其他声音效果应用于.wav声音文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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