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=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 6BCFA1F463 for ; Sat, 28 Dec 2019 15:52:52 +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 1ilEOU-0001oO-6n; Sat, 28 Dec 2019 15:52:46 +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 1ilEOT-0001oH-9D for sox-users@lists.sourceforge.net; Sat, 28 Dec 2019 15:52:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:To:From:Date: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=kIG+10F2gdRl+FibIwiw2/DkSpIMG+mIo2+l+J+EA2k=; b=k2VyNtU4tV/KGRP3IenqSZqsin 8Kjf73ZNE1L+wwwDt/L7eIARfQEPp8Sl1H+pYGHU8aSgLP+IJQ6NaHHZO/8tJhVHq8g8WJZ3N1Hbx 0DoumFxJqzW8wi8B0GOAz/RULbwnhbEz78czaPBXhqafRkbJ4HPOa94ZjYmjK9FFs2xk=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Transfer-Encoding:Content-Type:MIME-Version: References:Message-ID:Subject:To:From:Date: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=kIG+10F2gdRl+FibIwiw2/DkSpIMG+mIo2+l+J+EA2k=; b=ayUqes2lILf/Vl04mvVq0YRx10 AiCWWwdBC5OxiXlZJhRLfuO2vMVPMNUs3xXp2Vb+eOjPdIN6eGkleMNVK4Nj+dDrNjvmBvXK3D+VR 78JPkJSHLmqzDV/YDvauhC+D7fNo6wq2wjAuTcAAf0VfWrEpThxTz4NegLQw6BN4V2PQ=; Received: from mx.stare.cz ([79.98.77.229]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1ilEOG-00GhCs-IF for sox-users@lists.sourceforge.net; Sat, 28 Dec 2019 15:52:45 +0000 Received: from www.stare.cz (localhost [127.0.0.1]) by www.stare.cz (OpenSMTPD) with ESMTP id 41750c79 for ; Sat, 28 Dec 2019 16:52:19 +0100 (CET) Date: Sat, 28 Dec 2019 16:52:19 +0100 From: Jan Stary To: sox-users@lists.sourceforge.net Message-ID: <20191228155218.GA41251@www.stare.cz> Mail-Followup-To: sox-users@lists.sourceforge.net References: <87d93d9e13fb4fe46d7ecd8f74e3876a@wingsandbeaks.org.uk> <20191225212334.GA64006@www.stare.cz> <0709217c-c34d-2ab5-19bb-bd8b44b8e066@websterling.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <0709217c-c34d-2ab5-19bb-bd8b44b8e066@websterling.com> User-Agent: Mutt/1.12.2 (2019-09-21) X-Headers-End: 1ilEOG-00GhCs-IF 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-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: sox-users-bounces@lists.sourceforge.net > > Also, a command line like that will not stop recording its input > > just because the other side has stopped producing output > > (as opposed to reading a file as input). So how exactly > > is the above SoX process terminated? > SoX is terrminated with Ctrl-C In that case, the sox recording will be as long as the time between start and the ctrl-c termination (give or take a buffer or two). > > > > > In your "too long" wave file, does it start with 1h 6m of somethi= ng > > > > > else, or end with 1h 6m of something else?=A0 Or what? > > > > The wave file contains what was recorded, nothing extra. It is > > > > 'stretched' to the longer duration. What do you mean by that. Does it play slower? Then I would suspect a sample rate mismatch - hard to tell without actual soxi or sox -V output. > > How can it "contain what was recorded, nothing extra" > > and at the same time be of different length? Is it the > > rate change? That is, are you recording a 6kHz channel > > at the specified rate of 6kHz? Jan _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users