两个音频文件合并在一个文件中,并保存在磁盘 [英] Two Audio Files Merged in one file, and save in the disk

查看:406
本文介绍了两个音频文件合并在一个文件中,并保存在磁盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图制定编辑音频基本纲领,我有以下问题。我会选两首歌曲 - 单独的文件,不管格式 - 和他们加入之一。在这种情况下,执行这两个文件的合并。一个负责任的,并会在声音用最低的,一个最响亮的声音在前台。

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.

仍需要合并这两个文件,​​最后的歌曲保存到磁盘。有谁知道帮我推荐任何图书馆所能,code或文章?

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?

感谢。

推荐答案

有一个看 n音讯上的codePLEX项目。这里是一个有关如何使用C#和Python。

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

另外,请查阅此文章了解混合WAV曲目在C#中 - 一旦你有最终的WAV文件可以只带code它的MP3,如果这是你选择的格式

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.

这篇关于两个音频文件合并在一个文件中,并保存在磁盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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