消除录音轨道中的当前播放轨道声音 [英] Eliminating current playing track sound in recording track

查看:90
本文介绍了消除录音轨道中的当前播放轨道声音的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望使用RemoteI / O进行音频录制和播放。我很难理解核心音频,因为我遵循惊人的音频开源。到目前为止,我可以用相同的代码录制和播放,现在我试图通过麦克风录制并通过iphone扬声器播放,以避免在同时使用音频播放和记录。

I am looking to use RemoteI/O for audio recording and playing.I am very poor to understand core audio, because of that I followed Amazing Audio open source.So far I can able to Record and play with the same code, now I am trying to record through microphone and play though iphone speaker to avoid mixing of two audios while using simultaneous audio playing and recording.

我在Stack Overflow中看到很多帖子都重复了我的问题,但是我找不到确切的答案。但是我希望看到 Apple来实现文档

I have seen many posts in Stack Overflow that my question is duplicate, but I couldn't find exact answer for my problem. But I have hope to implement by seeing Apple document.

问题:


  1. 如何实现

  1. How to implement simultaneous recording and playing using RemoteI/O?

答案:使用Amazing Audio Engine完成

Answer: Done using Amazing Audio Engine

如何完成在播放录制的音频并录制另一首曲目时停止两种音频的混合? (消除通过我的应用程序播放的音频样本)

How to stop mixing of two audios while playing my recorded audio and recording another track? (Eliminating audio samples which is playing through my app)

如何通过麦克风更改录音并通过Iphone扬声器播放?

How to change the recording through microphone and playing through Iphone speakers?


推荐答案

我没有使用Amazing Audio Engine,但您绝对可以使用Core Audio来完成您的要求。如果您已经阅读了所有AAE文档,但仍然遇到困难,那么建议您进一步了解Core Audio。 C Adamson的文字对此非常有用。

I've not used the Amazing Audio Engine but you can definitely do what you're asking using Core Audio. If you've read all the AAE documentation and are still stuck then I'd suggest learning more about Core Audio. C Adamson's text is very good for this.

您还可以查看Apple提供的示例代码,例如混合器主机此示例代码

You might also look at Apple-supplied sample code like Mixer Host or this sample code.

最后,这是来自C. Adamson的示例代码,它同时演示了远程IO和AUFilePlayer单元。

Lastly, here's sample code, again from C. Adamson, that demos both Remote IO and the AUFilePlayer unit.

希望如此。

这篇关于消除录音轨道中的当前播放轨道声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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