From: Erich E. <er...@ec...> - 2015-08-26 13:21:01
|
Hi, just trim off the last seconds. What happens is probably: With -M all input channels are padded to the same length (I guess with zeros - the manpage doesn't say anything about merging files of different length). Then, of course, the delay enlarges the length by 2 seconds. I believe, the audio passed between the effects (and from the input / to the output) needs to be "rectangular": some nuber of channels over some time, where neither depends on the other (e.g. all channels have the same length and at each time you have the same number of channels). Everything else has to be padded (e.g. the 2 seconds "missing" at the beginning of channel 2 after the "delay 0 2"). Greetings, Erich On 26.08.2015 15:09, Igor Korolev wrote: > For example: > > sox -n sine400-7sec.wav synth 7 sine 400 > sox -n sine600-3sec.wav synth 3 sine 600 > sox -M sine400-7sec.wav sine600-3sec.wav merged.wav delay 0 2 remix - > > I expected merged.wav to be 7 seconds long, but it ends up being 9 seconds > with 2 seconds of silence at the end. What did I do wrong there? > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > |