3GP/AMR 混合/合并曲目

发布于 2024-09-13 06:49:46 字数 162 浏览 2 评论 0原文

有没有一种简单的方法可以将 2 个 3gp (amr) 音频文件合并为一个音频文件?

我需要它们同步/相互重叠,而不是一个接一个。我正在使用安卓来做到这一点。我听说过,对于某些音频格式,您可以简单地添加字节(注意不要得到太高或太低的结果)。 Android 上的 3gp/amr 格式是这样吗?

Is there an easy way to merge 2 3gp (amr) audio files into a single audio file?

I need them to be synchronous/over top of each other not one after the other. I am using android to do this. I have heard somewhere that for some audio formats you can simply add the bytes (being careful that you dont get a too high or too low result). Is this true with the 3gp/amr format on android?

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

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

发布评论

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

评论(1

深巷少女 2024-09-20 06:49:46

Android 仅允许播放/录制 3GP/AMR 文件。要混合音频,您将需要解码的 PCM 数据。这意味着您必须解码两个流混合(这确实是添加+标准化)然后播放。
不好的一面 - 无法访问内置的 AMR 解码器,该解码器允许您在不播放的情况下进行解码。

所以...没有简单的方法。

Android only allows playback/recording of 3GP/AMR files. To mix audio you will need the decoded PCM data. This means you have to decode both streams mix (this is indeed adding + normalizing) and then playback.
The bad side - there no way to get access to the build in AMR decoder which allows you to decode without playback.

So ... no easy way.

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