简体   繁体   English

iPhone音频过滤器

[英]iPhone audio Filter

I am considering an app which takes sound (eventually an audio track) and applies an audio filter to it. 我正在考虑一个需要声音(最终是音轨)并对其应用音频过滤器的应用。

So I can play sounds with AudioServicesPlaySystemSound via AudioToolbox framework just fine. 因此,我可以通过AudioToolbox框架使用AudioServicesPlaySystemSound播放声音。

What I need is a very simple example of how I might take a sound and apply (for instance) midrange boost etc. Actually the kind of alteration is irrelevant -- if I can get my head around how the alteration is done I can figure out the rest. 我需要的是一个非常简单的示例,说明如何获取声音并应用(例如)中音增强等。实际上,这种改变是无关紧要的-如果我能直截了当地了解改变的完成方式,我可以弄清楚其余的部分。 I am just finding both docs and examples of altering audio in code to be very scarce. 我只是发现文档和更改代码中音频的示例非常稀缺。

Thanks for any help! 谢谢你的帮助!

Unfortunately, anything beyond basic recording and playing of PCM data requires digging into the more murky depths of Core Audio. 不幸的是,除了基本的录制和播放PCM数据外,任何其他事情都需要深入研究Core Audio更加黑暗的深度。 I would probably start by looking at the Core Audio Overview documentation from Apple. 我可能首先查看Apple的Core Audio Overview文档。 They provide an entire mechanism with Audio Units for writing a signal processor or "effect units" that sit in the audio processing graph. 它们提供了带有音频单元的整体机制,用于编写位于音频处理图中的信号处理器或“效果单元”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM