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=-3.6 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,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 3AA921F463 for ; Mon, 16 Dec 2019 16:14:40 +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 1igt0y-0004ah-Qe; Mon, 16 Dec 2019 16:14:32 +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 1igt0x-0004aJ-6m for sox-users@lists.sourceforge.net; Mon, 16 Dec 2019 16:14:31 +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=ruqpMqzxFK9f46pyVB7JRMjODrUd4homavn1U8xhj0M=; b=AQsAAjSmzjC4tEKSJNVZ92CK7l DKDsdLYNfbt/31Wmpg2Ix6SqJQNdMD/Ss5n2hrSt4DHt2t9ODDqmfO1/0yMc/QzdCi07sv8Mx/DV1 rsqt6jmkhLevPYfsIQ3Yd15E7QvcEoQHFB56hnmLsBFSuBuKqqNMFCEBBLDMcLcv90IE=; 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=ruqpMqzxFK9f46pyVB7JRMjODrUd4homavn1U8xhj0M=; b=mXvs7HBazy+S4K53hMUbUIv9uj foOcW2Gcq2AnKIlEdheZD/bwnjm1OHdCRpR0Uo+OXMtMn7u5bx8ZJWCE85r5QJYHcYab+HJQ9k4D5 //EtjQvcINg2aeNPqOslr3/D4OtX3R6ZteDktMT0Wk43vkuiIjlq9PVfNJDY27k8L8is=; Received: from b-painless.mh.aa.net.uk ([81.187.30.52]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1igt0r-006vI2-Vz for sox-users@lists.sourceforge.net; Mon, 16 Dec 2019 16:14:31 +0000 Received: from webmailtest.aa.net.uk ([2001:8b0:0:30::66]) by b-painless.mh.aa.net.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1igt0k-00011N-W7 for sox-users@lists.sourceforge.net; Mon, 16 Dec 2019 16:14:19 +0000 Received: from cpc132346-sgyl43-2-0-cust166.know.cable.virginm.net ([82.42.23.167]) by webmailtest.aa.net.uk with HTTP (HTTP/1.1 POST); Mon, 16 Dec 2019 16:14:08 +0000 MIME-Version: 1.0 Date: Mon, 16 Dec 2019 16:14:08 +0000 From: Jeremy Nicoll - ml sox users To: sox-users@lists.sourceforge.net In-Reply-To: References: Message-ID: <87d93d9e13fb4fe46d7ecd8f74e3876a@wingsandbeaks.org.uk> X-Sender: jn.ml.sxu.88@wingsandbeaks.org.uk User-Agent: Roundcube Webmail/1.3.8 X-Headers-End: 1igt0r-006vI2-Vz Subject: Re: Duration of recorded file is longer than recording time using SoX 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 2019-12-16 02:39, George S. Williams wrote: > I'm using SoX on Centos 7 to record the audio output from GQRX, a SDR > application. I've selected Monitor of Built-in Audio Analog Stereo > from the Recording Tab of the Pulseaudio Volume Control. I'm trying to > save a .wav file with a sample rate of 6k. I'm using the command > > |sox -t pulseaudio 2 --rate 6k --channels 1 test.wav | Does the presence of the 'pipe' character before "sox" mean that audio was being generated by a previous command? If so, although you may think you terminated the recording after a certain time, maybe that program still sent data to sox? Or maybe sent data before you though you started the recording? In your "too long" wave file, does it start with 1h 6m of something else, or end with 1h 6m of something else? Or what? -- Jeremy Nicoll - my opinions are my own _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users