sox-users@lists.sourceforge.net unofficial mirror
 help / color / Atom feed
From: Zsolt Ero <zsolt.ero@gmail.com>
To: sox-users@lists.sourceforge.net
Subject: splice not working correctly
Date: Mon, 23 Dec 2019 23:43:13 +0100
Message-ID: <CAKw-smB9eNin2mtwsyVvAxXT=ZstaJqqxzjMy44TTcfqHMGU=w@mail.gmail.com> (raw)

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


_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

             reply index

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-23 22:43 Zsolt Ero [this message]
2019-12-23 22:51 ` Zsolt Ero
2019-12-24 14:00 ` Jeremy Nicoll - ml sox users

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKw-smB9eNin2mtwsyVvAxXT=ZstaJqqxzjMy44TTcfqHMGU=w@mail.gmail.com' \
    --to=sox-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

sox-users@lists.sourceforge.net unofficial mirror

Archives are clonable: git clone --mirror https://public-inbox.org/sox-users

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.sox
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.sox
	nntp://news.gmane.io/gmane.comp.audio.sox

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git