From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6130 216.105.38.0/24 X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (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 600511F8C1 for ; Thu, 7 May 2020 19:16:48 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jWm0h-0001S1-0m; Thu, 07 May 2020 19:16:43 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jWm0g-0001Rp-8S for sox-users@lists.sourceforge.net; Thu, 07 May 2020 19:16:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From: MIME-Version:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5Cfals9CD71o1OQyM1RgxtbR1LFkVZw0sRdTAZg+kM8=; b=LRKIgR/aIdYG/opoAZ369c2wVL uJArhK/XTcl2lFXIn58W6jcXdWkxMXO0Av8/fzhLFaGBEQ0+TY0dMbr2OmgtVQE0IvgnVTufd1pMD +b4FrwoXq5U6dTifB4Gil8puR+Z/BlRe8SEaxiQvAPPoperINw6KTWuwbq4k4W46xqVU=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:To:Subject:Message-ID:Date:From:MIME-Version:Sender:Reply-To :Cc:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=5Cfals9CD71o1OQyM1RgxtbR1LFkVZw0sRdTAZg+kM8=; b=L GNjqWwIxMXNMq+oaVpO2Q8Z32l6Hrqeionb3RkMDJRKSyGIlc0cRu4oyDnYa9lLDdrssCRjkkSbcS j8xdYlrPa1D25o40BElNzD8S9Q9ogIxdDnEZpcobfKsk38JqC1aaaFNbZw4d1G5Oh4cHXrXLWKzn4 5Xn0sdDwZ/ECB0pQ=; Received: from mail-wm1-f42.google.com ([209.85.128.42]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.2) id 1jWm0e-000dZS-CT for sox-users@lists.sourceforge.net; Thu, 07 May 2020 19:16:42 +0000 Received: by mail-wm1-f42.google.com with SMTP id k12so7744910wmj.3 for ; Thu, 07 May 2020 12:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=5Cfals9CD71o1OQyM1RgxtbR1LFkVZw0sRdTAZg+kM8=; b=VExXZocP9Nivw8kIULrmB7TM1L0g8Soto72ragBCUo13GKZUk8wydVZi7ooOp+B/lh zB1hxNobJa6bkrQYhi2aLwhcWBYUdwC4NkLP/eabN5Fr6JNWdo38vtyG4szy1/kxcwGf WyIUKxQrSwq0SjtmzHDskmOzL/8fVwz0Wqv2xlJbttFFFYW3avpCWZ2xRmyLyQlsU0PZ +X89mgcvLAyqbVmCbNNBvD7X7TgZCT9m//19cVL4Dggp46ZDdyTigIlx4F9M8OBiZVIV +Vrn8q8A5JFJD/DtGbqvpP0TfXPmsEFmIP81dVtaw9Bu0dUTEfgphOfz6ShZhS91QKj2 /KQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5Cfals9CD71o1OQyM1RgxtbR1LFkVZw0sRdTAZg+kM8=; b=Mnci6eHMRx4wE++vOWjFBxJotSt7shAiq4fVrSknvEmdxhovYr3MSsmPyHPSICSV0/ DDdsRJW1D2K9O+bXIJzMZdXYVe7+RZq7NE8dyYCqMkbtYalqvjjBmC+uopzP/BWHcbdl Ezy9uRII5umx7vISPeMDzQL2wM5gT4IQfXnLN6XYULnzdA30l0pghNV98oufqHoD3P4U si18+a2la0ctN5K5rDspjSZuuSAYTe9co3NVFvqr2glJM/8CC9eIaLDu64kwugI81GBY e9M7r9RbOVHrA0OHO9yvF1c4i6rc/0qE5W/NeutRMXVX5ds3/jNRKvY9XmYxfUuI4nk+ 8pPQ== X-Gm-Message-State: AGi0PubrJqHTmsktujBokAK/LdNQFGWlfTOBHO1Pwezog8ASsn7NJh70 tNz+i7kOzhb+JFyju3JUvQIfQKzCR8ma7F4SRaZU X-Google-Smtp-Source: APiQypIu0t05W5MKJndkqOuh9tiXnNk42tutGbNMOp+CiD75Pmkd0FeAKTYDTMk8hjKmPi+B1OqPdRExWSdEQRfSb68= X-Received: by 2002:a1c:7f4e:: with SMTP id a75mr11883858wmd.178.1588878993663; Thu, 07 May 2020 12:16:33 -0700 (PDT) MIME-Version: 1.0 From: Jeff Learman Date: Thu, 7 May 2020 15:16:22 -0400 Message-ID: To: sox-users@lists.sourceforge.net X-Headers-End: 1jWm0e-000dZS-CT Subject: SoX bug: smpl chunks deleted 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="===============5893207581490653240==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============5893207581490653240== Content-Type: multipart/alternative; boundary="00000000000002290b05a513b89c" --00000000000002290b05a513b89c Content-Type: text/plain; charset="UTF-8" I noticed that when converting stereo sample files to mono, the 'smpl' chunks (which encode loop information used by sample players), SoX omits the 'smpl' chunk in the output file. For example, sox input.wav -c 1 output.wav sums a stereo input.wav to a mono output.wav. However, the 'smpl' chunk in input.wav is discarded. I have a workaround; I wrote code to extract the smpl chunk and append it to the output. But it would be nice if 'smpl' chunks were supported by default, at least for the easy cases. (I realize it could be difficult or impossible for many cases.) What's the best way to file a bug report? BTW I'm new here. SoX RoX! Thanks, Jeff --00000000000002290b05a513b89c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I noticed that when converting stereo sample files to= mono, the 'smpl' chunks (which encode loop information used by sam= ple players), SoX omits the 'smpl' chunk in the output file.
<= div>
For example,

sox input.wav -c 1= output.wav

sums a stereo input.wav to a mono outp= ut.wav.=C2=A0 However, the 'smpl' chunk in input.wav is discarded.<= /div>

I have a workaround; I wrote code to extract the s= mpl chunk and append it to the output.=C2=A0 But it would be nice if 's= mpl' chunks were supported by default, at least for the easy cases.=C2= =A0 (I realize it could be difficult or impossible for many cases.)

What's the best way to file a bug report?
<= br>
BTW I'm new here.=C2=A0 SoX RoX!

=
Thanks,
Jeff

--00000000000002290b05a513b89c-- --===============5893207581490653240== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5893207581490653240== 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 --===============5893207581490653240==--