English 中文(简体)
将2份录音档案合并成1份
原标题:Merge two mp3 audio files into one
  • 时间:2011-10-12 19:54:02
  •  标签:
  • c#
  • .net
  • mp3

我有两个音频文件需要相互合并。 每次对话的一方是对话的一方,从理论上讲,当我把这两份文件合并在一起时,我应该听取完整的对话。 是否有任何人在网上做到这一点?

I ve seen examples of people concatenating audio files together, but I repeat, I don t want to do that. I want to merge/mix two audio tracks so the are on the same audio file.

希望得到任何帮助。

我看着西诺图书馆。 实际的法典答案也将非常有用。

最佳回答

我最后利用Sox进行合并。

http://sox.sourceforge.net/

sox.exe -m fileone.mp3 filesecond.mp3输出.mp3

Sox don t have support for mp3s so You need todown this text which have those reference prepared into the executable. 此外,你还可以找回这辆车,而最近的人应当拿起。

http://www.codeproject.com/KB/aspnet/Compiling_SOX_with_Lame.aspx

利用一个工艺班从www.net上调。

问题回答

这应该让你们开始学习。

  • Convert the mp3 s to wav32*
  • Mix the 2 wav (check this code)
  • Convert the mixed wav to mp3*

* 宇宙航行科学院样本/讨论表明如何在格式之间转换





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签