Merge 2 audio files in sox

前端 未结 4 1021
旧巷少年郎
旧巷少年郎 2021-02-09 07:34

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

4条回答
  •  礼貌的吻别
    2021-02-09 08:10

    For cases like Calmarius is asking:

    sox -m in1.wav in2.wav out.wav trim 0 `soxi -D in1.wav`
    

    this stops at the length of in1.wav, for cases you know the shorter. Otherwise just add a comparator.

提交回复
热议问题