两个音频文件合并为一个文件,并保存在磁盘中

发布于 2024-10-02 12:32:54 字数 180 浏览 3 评论 0原文

我正在尝试开发一个用于编辑音频的基本程序,但遇到以下问题。我会选择两首歌曲——单独的文件,无论格式如何——然后将它们合并成一首。在这种情况下,请合并这两个文件。哪里会出现负责声音最低的声音和声音最大的声音在前景。

仍然需要合并这两个文件,最终将歌曲保存到磁盘。有谁知道可以帮助我,推荐任何库、代码或文章吗?

谢谢。

I'm trying to develop a basic program for editing audio and I'm having the following problem. I would pick two songs - separate files, no matter the format - and joining them into one. In this case, do a merge of these two files. Where would a responsible and sound with the lowest and one with the loudest sound in the foreground.

Would still need to merge these two files, the final song to be saved to disk. Does anyone know help me, recommending any library could, code, or article?

Thanks.

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

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

发布评论

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

评论(1

萤火眠眠 2024-10-09 12:32:54

查看 codeplex 上的 NAudio 项目。这是 关于如何使用 C# 和 Python 将 MP3 文件与 NAudio 合并的文章

http:// /mark-dot-net.blogspot.com/2010/11/merging-mp3-files-with-naudio-in-c-and.html

另请查看此 关于在 C# 中混合 WAV 音轨的文章 - 一旦您拥有最终的 WAV 文件,您可以将其编码为 MP3(如果您愿意的话)选择的格式。

Have a look at the NAudio project on codeplex. And here's an article on how to merge MP3 files with NAudio using C# and Python.

http://mark-dot-net.blogspot.com/2010/11/merging-mp3-files-with-naudio-in-c-and.html

Also check out this article about mixing WAV tracks in C# - once you have the final WAV file you can just encode it to MP3 if that's your format of choice.

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