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,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 598271FF72 for ; Tue, 24 Oct 2017 18:45:01 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1e74CB-0004eb-Pf; Tue, 24 Oct 2017 18:44:59 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1e74C9-0004eV-Ru for sox-users@lists.sourceforge.net; Tue, 24 Oct 2017 18:44:57 +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; bh=6ZFDye2xEsfcP3L9TGwi2bf9xsOekNEOAFj0jC01cV4=; b=LjgCRS+EArdE6jNZwkJFILxmodAmTHZoQq589z8kj/d/SEagAKQYM1GvxPYlc2RYKlXctJkC4aFUWexmsAwv8gIuTEemNGw1mJrn+H5NXbw+VlK6nelZkQwF2p+5jfb309r35V+aPcYaOMhFHKUdNu5jtOtvldlgU/xXn8ZTP1E=; 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; bh=6ZFDye2xEsfcP3L9TGwi2bf9xsOekNEOAFj0jC01cV4=; b=igsC2OXOLoWYlw7SxzNxpQi2WiBUJP5E4Xte3HKlxULQj/TrDydiBIWSM/0ycm5/NNds77OalawVXKmuicgbNUmm8hvuKt3oiz7OXa7k+kVY4vGGtKTRMmCExdj6ysQ75zIHPJX5xZL8yO4+FZ/sGbUCY9vekiBk82tLH1o6aFU=; X-ACL-Warn: Received: from a-painless.mh.aa.net.uk ([81.187.30.51]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1e74C8-0005Mj-Cj for sox-users@lists.sourceforge.net; Tue, 24 Oct 2017 18:44:57 +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.0:ECDHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.89) (envelope-from ) id 1e74C2-0007de-0S for sox-users@lists.sourceforge.net; Tue, 24 Oct 2017 19:44:50 +0100 Received: from cpc132346-sgyl43-2-0-cust166.know.cable.virginm.net ([82.42.23.167]) by webmail.aa.net.uk with HTTP (HTTP/1.1 POST); Tue, 24 Oct 2017 19:44:43 +0100 MIME-Version: 1.0 Date: Tue, 24 Oct 2017 19:44:43 +0100 From: Jeremy Nicoll - ml sox users To: sox-users@lists.sourceforge.net In-Reply-To: References: Message-ID: X-Sender: jn.ml.sxu.88@wingsandbeaks.org.uk User-Agent: Roundcube Webmail/1.1.5 X-Headers-End: 1e74C8-0005Mj-Cj Subject: Re: My generated file that should be silent instead has tone 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-10-24 18:41, David P wrote: > I would like to generate files of silence of specific durations, all at > 16+kHz, 16bit wide, and single channel. After reading http://sox. > sourceforge.net/sox.html I believe the following command should do > that, > but instead it produces a tone: > > sox --null --rate 16k --bits 16 --channels 1 > "C:/Users/me/Desktop/silent19secs.wav" > synth trim 0.0 19.907625 > > Please tell me how to adjust this command. The whole purpose of the 'synth' effect is to generate tones. Although you didn't specify any parameters for that effect, it has defaults, so will have done something. I don't know why you put 'synth' there. The --null (sort of dummy input file) is described as infinite silence, so I would have thought that sox --null --rate 16k --bits 16 --channels 1 "C:/Users/me/Desktop/silent19secs.wav" trim 0 19 might work. -- 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