Sox mixture and delay

I mix audio using SOX.

SOX -m voice.wav audio.wav final.wav is what I use.

My goal is to delay voice.wav for 10 seconds, if I try to use 10.0 delay then I will have a double voice.

How right?

+4
source share
2 answers

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

There are several options:

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

(stereo is assumed) or

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

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

+6
source

sox voice.wav pad 10 0

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

+5
source

Source: https://habr.com/ru/post/1334135/


All Articles