简体   繁体   English

在iPhone上访问音频样本

[英]Accessing audio samples on the iPhone

I want to code up a audio fx program that would process the samples coming in through the mic input and play them through the audio output in near realtime. 我想编写一个音频fx程序,该程序将处理通过麦克风输入传入的样本,并以接近实时的方式通过音频输出进行播放。 But I cannot seem to figure out how to get accesses to the individual audio samples as they come in. Can. 但是我似乎无法弄清楚如何在进入单个音频样本时对其进行访问。可以。 Anybody point me in the right direction and possibly some sample code? 有人指出我正确的方向,可能还有一些示例代码吗? Thanks. 谢谢。

The audio-processing framework in iOS is called Core Audio. iOS中的音频处理框架称为核心音频。 See the Core Audio Overview . 请参阅核心音频概述 For sample code see the iOS Reference Library sample code . 有关示例代码,请参见iOS参考库示例代码 You can filter for audio using the searchbox 您可以使用搜索框过滤音频

您可能希望查看Audio Queue服务(大多数/所有功能名称都以“ AudioQueue”开头)。

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

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