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.7 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, 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 C52931F463 for ; Mon, 16 Dec 2019 03:17:40 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1iggt3-0006RA-Jb; Mon, 16 Dec 2019 03:17:33 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1iggt2-0006Qy-98 for sox-users@lists.sourceforge.net; Mon, 16 Dec 2019 03:17:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Date:Message-ID:Subject: From:To: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=YQUfchU4ctvFHxRvMmke13BXOxsmsSbTmi2uETjVV4c=; b=XoZq09NJYBZIrH793R++8VOs2n 67FqgIuQfxK/SSEknOJ0vDbneJdJcb+MbeGB3kpgvgENqg+WIvmuk5xVoUh+SNoYE3uA2tTkqEm/f 1uaE5ZeiU5Va+pImoGMIgzaUjh5wRhuCxfKojJrorl/Pvd2RRB0EzZzMf05RqZdkEt+I=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Date:Message-ID:Subject:From:To: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=YQUfchU4ctvFHxRvMmke13BXOxsmsSbTmi2uETjVV4c=; b=k nmrMvW5Ko5h/UqWSAOYvaBD94A2sZ8AiMCvtafuhEDBqlNfgaWEHzS1J69UBYgQMHkPv9XlrF2ZpB Bpa9asUYwAHfWGBR5kiiLcfWNIAKOwdQog5QtnFFWluHd/G1mhhzFRjbqI8OXszupagIu385Nyjri 328eY6SVFw1QNdIU=; Received: from chocolate.birch.relay.mailchannels.net ([23.83.209.35]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1iggt0-006F24-0x for sox-users@lists.sourceforge.net; Mon, 16 Dec 2019 03:17:32 +0000 X-Sender-Id: a2hosting|x-authuser|ra@websterling.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id E97EE5E17D5 for ; Mon, 16 Dec 2019 02:39:53 +0000 (UTC) Received: from mi3-ss10.a2hosting.com (100-96-88-132.trex.outbound.svc.cluster.local [100.96.88.132]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 35AAC5E1C9E for ; Mon, 16 Dec 2019 02:39:53 +0000 (UTC) X-Sender-Id: a2hosting|x-authuser|ra@websterling.com Received: from mi3-ss10.a2hosting.com ([TEMPUNAVAIL]. [68.66.200.205]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Mon, 16 Dec 2019 02:39:53 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|ra@websterling.com X-MailChannels-Auth-Id: a2hosting X-Whimsical-Cooperative: 287ae133578d4766_1576463993551_2874598292 X-MC-Loop-Signature: 1576463993550:339205381 X-MC-Ingress-Time: 1576463993550 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=websterling.com; s=default; h=Content-Type:MIME-Version:Date:Message-ID: Subject:From:To: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=YQUfchU4ctvFHxRvMmke13BXOxsmsSbTmi2uETjVV4c=; b=Z7BVN3v93W8r9PvY2UIdbK9iKa ZgiLa8tYN9VwT8GJPhiE591GCV2mORdOS9Kr8P+it04h8xERo9VR0aNea1nqrtI2TnQ6RAKQO34Ix EiOTGafym8TjpSbztacdWpqSD3Y+H2uhPhcDzq3rxlXcY3Tpm+R4zmfQhcmdK2sMkHzKJ2RylI6iz SjYSytg8qCQZI0sjM53226NgsuLTN5s6+1WNmzYsguGqaOHGBm2rlXfvRMd48hX+Xq/Tz3ryl5oJb RRGVSCrdpJHM1dkR267jNworkb+x0wyuPwUl22gg9ys+WaSYmzSsKIUz4V1USinCdvSPYTujDBgZx 1ASBerzQ==; Received: from ip-70-8-3-35.washdc.spcsdns.net ([70.8.3.35]:58142 helo=[192.168.0.54]) by mi3-ss10.a2hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1iggIV-0004YW-4w for sox-users@lists.sourceforge.net; Sun, 15 Dec 2019 21:39:47 -0500 To: sox-users@lists.sourceforge.net From: "George S. Williams" Message-ID: Date: Sun, 15 Dec 2019 21:39:46 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Language: en-US X-AuthUser: ra@websterling.com X-Headers-End: 1iggt0-006F24-0x Subject: 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-Type: multipart/mixed; boundary="===============8743707301126554635==" Errors-To: sox-users-bounces@lists.sourceforge.net This is a multi-part message in MIME format. --===============8743707301126554635== Content-Type: multipart/alternative; boundary="------------E6920BB9A3C62332D4BCC9C9" Content-Language: en-US This is a multi-part message in MIME format. --------------E6920BB9A3C62332D4BCC9C9 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 | This works and my test.wav is what I expect except that the duration of the file is about a third longer than the actual recording time. 3 hours and 15 minutes of recording time results in a file with a duration of 4 hours and 21 minutes. I couldn't find anything online or in the SoX documentation concerning this. Is there something else I can try to make the wave the actual length of the recording? --------------E6920BB9A3C62332D4BCC9C9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit

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

This works and my test.wav is what I expect except that the duration of the file is about a third longer than the actual recording time. 3 hours and 15 minutes of recording time results in a file with a duration of 4 hours and 21 minutes.

I couldn't find anything online or in the SoX documentation concerning this. Is there something else I can try to make the wave the actual length of the recording?

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