在sox中合并2个音频文件 [英] Merge 2 audio files in sox

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

问题描述

我正在尝试将2个wave文件合并为一个文件. 2个文件应在新文件的开头开始播放.与声音长度无关.运行以下命令不会给我这个结果.

I am trying to merge 2 wave files into one file. The 2 files should start playing at the beginning of the new file. Independently of sound length. Running the following command does not give me this result.

  sox -M new_input.wav myrecording.wav output_test.aiff

还有其他方法可以通过sox或其他命令行库实现这一目标吗?

Are there other ways of achieving this through sox or other command line libraries?

推荐答案

只需更改-M with -m

-M = merge
-m = mix

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

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