Sox mix and delay

懵懂的女人 提交于 2019-11-29 15:25:39

问题


I am mixing audio using SOX.

the command SOX -m voice.wav audio.wav final.wav is what I am using.

My goal is to delay the voice.wav of 10 second, if I try to use delay 10.0 then I have double voice.

How to get right?


回答1:


http://sox.sourceforge.net/Docs/FAQ

There are a couple of options:

sox -M f2.wav f3.wav f1.wav out.wav delay 4 4 8 8 remix 1,3,5 2,4,6    

(assuming stereo), or

sox -m f1.wav "|sox f2.wav -p pad 4" "|sox f3.wav -p pad 8" out.wav     

The second way is probably better since it works with files with any number of channels.




回答2:


sox voice.wav pad 10 0

sox -m voice.wav audio.wav final.wav



来源:https://stackoverflow.com/questions/9327262/sox-mix-and-delay

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!