Re: splice not working correctly

Zsolt Ero <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <CAKw-smA8K4x+P8tQyVWeELdeXvzyVFyTZeODxMvMAa7RS2GO+A@mail.gmail.com>
It's very visible with silence as the second track.

sox -n -r 96000 -c 2 silence.wav trim 0 7
sox in.wav in_trim.wav trim 0 6
sox in_trim.wav silence.wav out.wav splice -q 5,1

There is this echo / duplication starting already at 3-4 seconds.


On Mon, 23 Dec 2019 at 23:43, Zsolt Ero <[email protected]> wrote:
>
> Hello,
>
> I'd like to use split to mix two slightly different tracks for AB
> testing purposes. I'd like to have 0..5 second from track A and 5..10
> seconds from track B, etc. 10..15 track A, 15..20 track B.
>
> I'd be very important to make sure that it doesn't change the signal
> in any way, as in if I run it with identical tracks, I'd get back the
> original track.
>
> My problem is that it's not what is happening. For validation I'm
> using a big excess value = 1 sec + -q for equal cross fade.
>
> So far here are my basic CLI arguments:
> sox A.wav tmp/A_0.wav trim 0 6
> sox A.wav tmp/A_5.wav trim 4 7
> sox tmp/A_0.wav tmp/A_5.wav out.wav splice -q 5,1
>
> Can you correct me in how to use splice correctly? The way I'm using
> it I get a bit of an echo / duplication at the end of the first file,
> just before the mixing point.
>
> Zsolt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.