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=-2.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID,T_RP_MATCHES_RCVD shortcircuit=no autolearn=no 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 AD1E920C11 for ; Wed, 6 Dec 2017 21:29:45 +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 1eMhGC-0005QU-2o; Wed, 06 Dec 2017 21:29:44 +0000 Received: from sfi-mx-4.v28.ch3.sourceforge.com ([172.29.28.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1eMhGA-0005QO-MD for sox-users@lists.sourceforge.net; Wed, 06 Dec 2017 21:29:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-ID:References:In-Reply-To:Subject:To:From: Date:Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hgB6F0bXhCc03WFj7uwlSNNZtTFGmZHyGrwlMhm6VOY=; b=KRV7PKpVZV4dfr7WGKdMt0GHvn TH0OaCTV/V8ubNnNxVPV54tIVF/HLZke0vmNOrIVY4CWa7k3sVfbYhb5qC/sTtE21hOkriwzQjxUj A1IMJaYrbPSWOGZ71mz1x2uP6U8WfEX0QFUYa3EuOsoceJ8vB5tlRigRx6rBYtRn7pJQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-ID:References:In-Reply-To:Subject:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=hgB6F0bXhCc03WFj7uwlSNNZtTFGmZHyGrwlMhm6VOY=; b=XSb5BOZyDOPjCjYFEj/nsFeujQ Wf/RMEmzZc/z0mMGYXTAYmJxwhQH3EC48DCfQ6AO8z3IBx4UpR510odslyI7x+AKEk5RrMKCcm5d4 mHRY35H/VacNGx+jEy0UppnpeL9O1DMc0YyXQJixhMzHbnmVncR6wt5slJbdfVbtPXxk=; Received: from a-painless.mh.aa.net.uk ([81.187.30.51]) by sfi-mx-4.v28.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) id 1eMhG9-0004Qs-6B for sox-users@lists.sourceforge.net; Wed, 06 Dec 2017 21:29:42 +0000 Received: from a-webmail.mh.aa.net.uk ([2001:8b0:0:30::75] helo=webmail.aa.net.uk) by a-painless.mh.aa.net.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1eMggG-0003BX-Py for sox-users@lists.sourceforge.net; Wed, 06 Dec 2017 20:52:36 +0000 Received: from cpc103044-sgyl39-2-0-cust1915.18-2.cable.virginm.net ([82.44.215.124]) by webmail.aa.net.uk with HTTP (HTTP/1.1 POST); Wed, 06 Dec 2017 20:52:30 +0000 MIME-Version: 1.0 Date: Wed, 06 Dec 2017 20:52:30 +0000 From: Jeremy Nicoll - ml sox users To: sox-users@lists.sourceforge.net In-Reply-To: References: Message-ID: <2e768c3a2bc7f4022318d5b16faad19f@wingsandbeaks.org.uk> X-Sender: jn.ml.sxu.88@wingsandbeaks.org.uk User-Agent: Roundcube Webmail/1.2.3 X-Headers-End: 1eMhG9-0004Qs-6B Subject: Re: Trim WAV file Meta Data 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: sox-users-bounces@lists.sourceforge.net On 2017-12-06 19:54, david wrote: > Hello all, love sox and am so glad it's out there. I'm using SOX to > verify, convert and "normalfy" audio files coming in from untrusted > sources > (web). Basically I'm converting source audio to WAV PCM. Audio files > that > come from sources like Adobe Audition often contain meta data, which > just > renders as ~100ms of noise at the end of the track. I'm wondering if > that > could be trimmed off somehow. > > I've tried a variety of things. The command I'm using currently: > > sox --ignore-length [infile] -t wavpcm [outfile] Why are you sure that the audio-length data in the file headers is wrong? You're telling sox to regard everything in the file as sound data. What does soxi say about such files? Does it identify their contents as having a particular format? > I tried to attach some files, but they got flagged for moderation 6 > days > ago, so I'm resubmitting this. Upload them somewhere and post a URL. -- Jeremy Nicoll - my opinions are my own ------------------------------------------------------------------------------ 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