Two Audio Files Merged in one file, and save in th

2019-08-26 22:08发布

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.

1条回答
手持菜刀,她持情操
2楼-- · 2019-08-26 22:41

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.

查看更多
登录 后发表回答