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 141751F4DD for ; Fri, 1 Sep 2017 21:41:20 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1dntgk-0003n0-Dx; Fri, 01 Sep 2017 21:41:18 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1dntgi-0003mt-Uy for sox-users@lists.sourceforge.net; Fri, 01 Sep 2017 21:41:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Mime-Version:To:Date:Message-Id:Subject:Content-Type:From; bh=ssb9gI/z8SG6aDnRM8A8xX1hWgK0drA9lWItF3q0h4Q=; b=ao9vN0u8GK6kcSXQgWUU4PityGDexkU7rn5ubjikma1KiEJYjPUpt2ODT0wbzzOPfqcZmzeQ9SIS5HbgnAqdkljWGRo7jBkB0YqSofKCQogPJs6gC1/59DM8Tp+frIUx6LKlfqZ5/S6wLBeibohwbuPZQJlTo5mYBymvOaXv/v4=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=Mime-Version:To:Date:Message-Id:Subject:Content-Type:From; bh=ssb9gI/z8SG6aDnRM8A8xX1hWgK0drA9lWItF3q0h4Q=; b=NPIcXeGbDPH8q07HVwFRW9hPUPoxAppXAbrD+ycL6Ygr2vF7/H46kvg9e8nUPCoK0Ri+uX0zOiGtK1wp/DRHus9SJGP0FxWMmA4s6L8W1B4XO9lksfT4qfl31IVbvVUzrrFzeMexj+WUJcjRgseT5yX1SceMxGWlbcCFp4mYZhk=; X-ACL-Warn: Received: from lb1-smtp-cloud7.xs4all.net ([194.109.24.24]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1dntgh-0003zY-Fq for sox-users@lists.sourceforge.net; Fri, 01 Sep 2017 21:41:16 +0000 Received: from [IPv6:2001:984:93c2:1:45a5:44cc:9717:f3cc] ([IPv6:2001:984:93c2:1:45a5:44cc:9717:f3cc]) by smtp-cloud7.xs4all.net with ESMTPA id ntQKdoLaVAr7rntQLdA8rX; Fri, 01 Sep 2017 23:24:22 +0200 From: Bouke / VideoToolShed Message-Id: <55982714-FD94-401E-9391-E41BDA42BCC9@videotoolshed.com> Date: Fri, 1 Sep 2017 23:24:20 +0200 To: sox-users@lists.sourceforge.net Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) X-Mailer: Apple Mail (2.2104) X-CMAE-Envelope: MS4wfHK7wiNI9VR9i6E3uqJ1Hm1UNy0QMFOfJgdB7fMsvvG1kd9hEgvl22Ck4SRAhoW8CQW3Ky+VqydPZCPKrDnMtc+Ir2C4uSKGRplmj07z+zVjKv5Dx104 mq42jyfpp6p4q6fLhLk/F1Dm+TmWs0ZR2F5+IBQwEkMyV5T8sWzonjxOCiot/GdAa+arSau2i3sPsKXesoUGXQ/F/BcyqRkJgQPVNfTL7vU2R+9FeTdA7HJp qewmbGnWa1Ub558s2s9K+8U4p7NQXgmW3FW97nUCTubn1kXiNQO4cyfTlna2MxB3 X-Headers-End: 1dntgh-0003zY-Fq Subject: 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="===============2022734598997480995==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============2022734598997480995== Content-Type: multipart/signed; boundary="Apple-Mail=_F8D60E02-A42A-465F-A666-9A347EAAEFBA"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Apple-Mail=_F8D60E02-A42A-465F-A666-9A347EAAEFBA Content-Type: multipart/alternative; boundary="Apple-Mail=_90BB5949-A783-4702-8CD0-B70BBADF7790" --Apple-Mail=_90BB5949-A783-4702-8CD0-B70BBADF7790 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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. Now, remix could fix it, but I need to know what logic behind the = channel remapping is used, and I am clueless=E2=80=A6 Thanks for any insight! Bouke --Apple-Mail=_90BB5949-A783-4702-8CD0-B70BBADF7790 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 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.

Now, = remix could fix it, but I need to know what logic behind the channel = remapping is used, and I am clueless=E2=80=A6

Thanks for any insight!

Bouke



= --Apple-Mail=_90BB5949-A783-4702-8CD0-B70BBADF7790-- --Apple-Mail=_F8D60E02-A42A-465F-A666-9A347EAAEFBA 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----- iQIcBAEBCgAGBQJZqdAFAAoJEGvldIVYaqVU33AP/iJSogc8FoNd0Y7RtYKT2d6z kLJL1W4NqYB4IfCzud8upZGQaXzbgSQdiFc5X8fE5ihFJKfWeaEDeu+5ukRZXnxx jl1zoJQQFqkOhgE6uW1AIX4rx+U1bJgvP3hawlzETSx0x8/A9vErQOBD3dkDmyKl HgdiGIrMp9xRMa7CfdXxYE0oGvaO5g3cur9SPRnyaNs2n9a0V7Ei9LK7cVAC4iYe 05NcvW4t242PD7vs40rjzr4RMTFABfFz0j1grLTJNAMB+aJz6/HSJsR4xaTREQh9 Jd+3wJmR6yycFB5ZVQNrMTOf6OAydiL9o1K4Bv+jmCvGxptHCmUZvBH4j7NRSqoV gPc9OCvJ6izC99fg/MfF2ZxwIKD+aKsje2lHNW6JylpRXf8mWN/FaDoj85iYoY76 iEEoSq5XPfKF2RWIc4HmU1K5aC4nhzP2HWov9D/Wlu6Mz382Hnm8jMkOWXvuyECc GA08vuKa3O1Y72qHKO/O8qZ5QmNCdG4jDDX4Hjt36kGHWTtPlraPw/+adiG7VQMo 52yW1BkDMKJdQ3DXRfaGH7vXoPhqGKmMpesAykWE4eUrTh8xy4ubEVAWue1kYhdc RCkxRAk/We4ZGJUZUdGHPSafuhZpufpewhYzdHoN2o5lbPFFt+bidvWFbjhK6L0x Ion9+eFHKDeIxwAUTeU9 =zhb6 -----END PGP SIGNATURE----- --Apple-Mail=_F8D60E02-A42A-465F-A666-9A347EAAEFBA-- --===============2022734598997480995== 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 --===============2022734598997480995== 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 --===============2022734598997480995==--