From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3561 216.34.176.0/20 X-Spam-Status: No, score=-3.1 required=3.0 tests=BAYES_00,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 868D8209AB for ; Wed, 6 Sep 2017 13:38:53 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1dpaXb-0000Yl-U0; Wed, 06 Sep 2017 13:38:51 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1dpaXZ-0000Ye-P6 for sox-users@lists.sourceforge.net; Wed, 06 Sep 2017 13:38:49 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:To:References:Date:Subject:Mime-Version:Message-Id:Content-Type:From; bh=xjb8h6WCzKayazCg4li93aUYuxeofullMX6E86wRcvQ=; b=Y5JVU01nYEu/VZas1Ab0yEwK/Wgz7tAwkgRXZ3OXDYhCugejNOUhlpj17dBgO4CuIGjj7wfVYc/EFwMgzgz5/nZRSLjet6bkkECcEjl5/m6k0KA6I7xA8eA2QbIWH39dJRamUyGVW8fHW9raTQM4LDX0/2cZtapcO4WT8PevMqk=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=In-Reply-To:To:References:Date:Subject:Mime-Version:Message-Id:Content-Type:From; bh=xjb8h6WCzKayazCg4li93aUYuxeofullMX6E86wRcvQ=; b=XklMKbK4F4weEg6csjPB5mhgKz1cxs4r6ZgVEL7Rv+D0Yso8MZwT2H8jE8+wC2lW+G26g6rRLBqltkr11IJsZ5ZXJypB+fmmCSFuu5cRL1sw9yaqdrALXsaRgZs7ocTjgGa2RyFxtV2UWTlCJJP3mILvkWAg0Qucp+xkpRz17yc=; X-ACL-Warn: Received: from lb2-smtp-cloud8.xs4all.net ([194.109.24.25]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1dpaXT-00088a-65 for sox-users@lists.sourceforge.net; Wed, 06 Sep 2017 13:38:49 +0000 Received: from [IPv6:2001:984:93c2:1:d979:f94e:7831:537f] ([IPv6:2001:984:93c2:1:d979:f94e:7831:537f]) by smtp-cloud8.xs4all.net with ESMTPA id paXLdlXFacQyLpaXMdWFJU; Wed, 06 Sep 2017 15:38:36 +0200 From: Bouke / VideoToolShed Message-Id: Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Date: Wed, 6 Sep 2017 15:38:34 +0200 References: <55982714-FD94-401E-9391-E41BDA42BCC9@videotoolshed.com> <20170905151747.GA56785@www.stare.cz> To: sox-users@lists.sourceforge.net In-Reply-To: <20170905151747.GA56785@www.stare.cz> X-Mailer: Apple Mail (2.2104) X-CMAE-Envelope: MS4wfKwKKqYf9kJPUF4uYte3WoMpmOG/4IXUJptfJ6P5bZ6MHnc/tv/D5WFdxlfdP2azFJN9vYXvylufTwzwPugxJVNXv/KWhfh7ufdgH5E6XvLuXaKeH+Iq MCgH2beqEiJut9E5qpby18I75771WXWcBJ0vqq+h2DZfdh614bQ6Qn3WD40eUeKGCH13Qg7D89BEVFd8WLlozTwIfRv7SiPcBW14GwAC8D65qy7dZDkJS0pr qDsTtpr2HmhkmSOKM0y9bPaqw4Ur+uBB1rfQg7VRqE01uI87MdxcWNckuVSdRILk X-Headers-End: 1dpaXT-00088a-65 Subject: Re: Merge and pipe channel assignment madness X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: multipart/mixed; boundary="===============0347747260813243549==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============0347747260813243549== Content-Type: multipart/signed; boundary="Apple-Mail=_74C90061-FC0D-40EA-A804-7FD7F80A8F3F"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Apple-Mail=_74C90061-FC0D-40EA-A804-7FD7F80A8F3F Content-Type: multipart/alternative; boundary="Apple-Mail=_7A19A69D-ECB5-40E6-BF65-E4F88C724E8B" --Apple-Mail=_7A19A69D-ECB5-40E6-BF65-E4F88C724E8B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On 05 Sep 2017, at 17:17, Jan Stary wrote: >=20 > On Sep 01 23:24:20, bouke@videotoolshed.com wrote: >> Hi guys, >> Trying to merge multiple mono and poly Wave files while piping (to = add custom padding to each input file.) >> Whatever I do, on input poly files the output channel order is = totally unpredictable. >>=20 >> I=E2=80=99m using something like sox -M =E2=80=9C| sox 3ch.wav -p pad = 1=E2=80=9D =E2=80=9C|sox 5ch.wav=E2=80=9D -b 24 output.wav >> I would expect to get the same order of output as in the order of the = input / pipe, but that does not happen. >=20 > I cannot reproduce this behaviour. >=20 Hi Jan, >=20 > What version of SoX are you using? > Does it also happen with the current version Hi Jan, If you like, try this: Y:\sox-14-4-2\sox -M "| Y:\sox-14-4-2\sox J:\Torsten\tst\T72.WAV -p pad = 0" "| Y:\sox-14-4-2\sox J:\Torsten\tst\T72.WAV -p pad 1" -b 24 = J:\Torsten\tst\output.wav The file has ch1 (a bit) static, ch2 silence, ch3 voice On merge, the input tracks are reversed (but other files behave random.) File can be downloaded here: https://we.tl/4XNMXikv0J Thx! Bouke > Can you please upload two of your multichannel files > so that I can reproduce exactly what you are doing? >=20 > Jan >=20 >=20 > = --------------------------------------------------------------------------= ---- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Sox-users mailing list > Sox-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sox-users --Apple-Mail=_7A19A69D-ECB5-40E6-BF65-E4F88C724E8B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On 05 Sep 2017, at 17:17, Jan Stary <hans@stare.cz> = wrote:

On = Sep 01 23:24:20, bouke@videotoolshed.com wrote:
Hi guys,
Trying to merge multiple = mono and poly Wave files while piping (to add custom padding to each = input file.)
Whatever I do, on input poly files the output = channel order is totally unpredictable.

I=E2=80= =99m using something like sox -M =E2=80=9C| sox 3ch.wav -p pad 1=E2=80=9D = =E2=80=9C|sox 5ch.wav=E2=80=9D -b 24 output.wav
I would = expect to get the same order of output as in the order of the input / = pipe, but that does not happen.

I cannot reproduce this behaviour.

Hi Jan,

What version of SoX are you = using?
Does it also happen with the current version

Hi = Jan,
If you like, try this:
Y:\sox-14-4-2\sox -M "| = Y:\sox-14-4-2\sox J:\Torsten\tst\T72.WAV -p pad 0" "| Y:\sox-14-4-2\sox = J:\Torsten\tst\T72.WAV -p pad 1" -b 24 J:\Torsten\tst\output.wav

The file has ch1 (a bit) = static, ch2 silence, ch3 voice
On merge, the input tracks are = reversed (but other files behave random.)
File can be = downloaded here:

Thx!
Bouke


Can you please upload two of your multichannel files
so that I can reproduce exactly what you are doing?

Jan


---------------------------------------------------------------= ---------------
Check out the vibrant tech community on = one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

= --Apple-Mail=_7A19A69D-ECB5-40E6-BF65-E4F88C724E8B-- --Apple-Mail=_74C90061-FC0D-40EA-A804-7FD7F80A8F3F Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJZr/pbAAoJEGvldIVYaqVUBoIP/1GQMD+W7buXeOXHQFjTL3lV Gh3GHvI/6wXfwtYOlN5OzZv47vbHKmEkH5pCPsWAbqOTJw1wFhnDsr3sDARbuSHC RbQ3loLFiPXoITCV2vPg4dX/ETjjedMyOuS1B5rDwAo4x36yNUS5RmFxCTDIsPtl k8ifBpc57lIjQm0cr62QOtvOAVwZA+Z+Dh/dZkYF3X09raSlZ44oG1ZxhW+SmQfH t0D+Sr9cVpnIjZC5WvJgeb+pqZUMecMhb7WiBQmdfoOXOfED/8CcIvYv5v9soiHz ku/17ktYGAiQlZtDJr/tWhBr2eqkvgYLrRVfa85EwrI7frAB2p3wyatf/U50KlO2 UblQrkTzNz/gGGQOUnSA0Lu53fdEhbhaGguKtwXooA0fva1FnFB7Ft9HxBxrmMtV xIFwuPl0626m9ZoiOVbznY07x8yt3PNuWrIkc9i2i3qxbXzZhCclH7r/+cS6ghNg ca7ISAHD8opqlS6wL/fCdZ/pU1UwefPHOHI61eDem4HYH22IPZJMl2+O0Dp6J1ol lefup8q6fWhMMMe06Zzlym0Td+Vy8OoW06J30rkpIk8l+shvhGAE1C3j6+gCj7H0 rHOE7geh0qjCIf23QcD1tOX9+Y7KYUd2hf5pSLjMrFIyM5KcVxRbKq1CfLznsvjD RU/C3hjCxtOIRIHF9+HH =eymm -----END PGP SIGNATURE----- --Apple-Mail=_74C90061-FC0D-40EA-A804-7FD7F80A8F3F-- --===============0347747260813243549== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============0347747260813243549== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============0347747260813243549==--