最佳音频框架

发布于 2024-09-26 10:30:33 字数 250 浏览 0 评论 0原文

在该应用程序中,我录制一个人的声音,将其存储在 NSTemporaryDirectory() 中的文件中,然后播放它。到目前为止,我已经使用了 AVAudioPlayer 和 AVAudioRecorder,但是一段时间后,当我同时录制它时,它会播放声音,我不知道为什么?更多关于我的应用程序在 iPhone 4 中崩溃的问题。

现在请您建议我使用哪个框架来录制、改变音调并可以播放,最重要的是它适用于所有 iPhone。 1.开放AL 2. 核心音频 3.音频工具箱

In that application I am recording the voice of a human storing it in a file in NSTemporaryDirectory() and then playing it. So far I have used AVAudioPlayer and AVAudioRecorder but after some time when I record it simultaneously it plays the sound I don't know why? And more over my application crashes in iPhone 4.

Now could you please suggest me which framework to use which do recording changes pitch and can play and most importent which will work on all iPhones.
1. OpenAL
2. Core Audio
3. AudioToobox

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

勿忘心安 2024-10-03 10:30:33

我在我的一个应用程序中使用 AVAudioPlayer 和 AVAudioRecorder,但根本没有这个问题。
也许您描述的问题与您应用程序中的其他问题有关。
您确定您的应用程序中没有其他错误导致此问题吗?

I use AVAudioPlayer and AVAudioRecorder in one of my apps and I don't have that problem at all.
Maybe the issue you describe is related to other problem in your app.
Are you sure you don't have another bug in your app that causes this?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文