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=AWL,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 6F97D1F42B for ; Fri, 10 Nov 2017 14:04:12 +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 1eD9ul-0006L0-FJ; Fri, 10 Nov 2017 14:04:11 +0000 Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.193] 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 1eD9uj-0006Kt-UB for sox-users@lists.sourceforge.net; Fri, 10 Nov 2017 14:04:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Message-ID:In-Reply-To:Date:References:Subject:To:From: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=Ybk8TCenAUoTVNdBIqinWxx86S+eDsDvEYouzJtaP5U=; b=Q6CqZcoV5R3uwQrU8SLPUX4eIa fucIAjFF9m4P0djplBZhVeKr/vwn4EbsV9erAU4R+mUgDMJz5mycwKggUPadNkNUyRq3wXPXVDO34 sHxv+kRGJuwEwsEe/M6gmaQllkEeO7Ojac/iyO1IvdEWQee93T2rj0aYKfY0scUXLlvg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:To:From: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=Ybk8TCenAUoTVNdBIqinWxx86S+eDsDvEYouzJtaP5U=; b=OV2PT6sZLgcdPMgNB39L3OwjoR h3RLDwU8oplMzFjabq69GO/ur/2UpRkPfo1nTL4kJbvr8PNwugfiAyMLJNknwfDBzbo94CwhnVYQw 8oPEzc86QOHqj/Q8Qgkd/Fj2oPnBSoAVcvJZ8Zq8iV69UJHqBL+cxM0S1ObtZHUz1H/k=; Received: from unicorn.mansr.com ([81.2.72.234]) by sfi-mx-3.v28.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) id 1eD9uh-0003on-O4 for sox-users@lists.sourceforge.net; Fri, 10 Nov 2017 14:04:09 +0000 Received: by unicorn.mansr.com (Postfix, from userid 51770) id D249D15607; Fri, 10 Nov 2017 14:04:00 +0000 (GMT) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: sox-users@lists.sourceforge.net References: <20171110133044.GA14739@www.stare.cz> Date: Fri, 10 Nov 2017 14:04:00 +0000 In-Reply-To: <20171110133044.GA14739@www.stare.cz> (Jan Stary's message of "Fri, 10 Nov 2017 14:30:44 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 X-Headers-End: 1eD9uh-0003on-O4 Subject: Re: specifying format of RAW files 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 Jan Stary writes: > When playing RAW audio files, the specified format seems to > only take effect for the first file. Subsequent files fail > to play because of unspecified rate etc. > > $ play -c 1 -r 48000 -e float -b 32 pcm1.raw # OK > $ play -c 1 -r 48000 -e float -b 32 pcm2.raw # OK > $ play -c 1 -r 48000 -e float -b 32 pcm*.raw > play FAIL formats: bad input format for file `pcm2.raw': > sampling rate was not specified > > Is this intended, or should the specified format be used > for the subsequent files as well? This is intentional. Format options apply to the following file only. Having them apply to a sequence of raw files could of course be useful, but I'm afraid this would require quite some work. Remember that these same options will also override parameters in the file headers. -- = M=E5ns Rullg=E5rd ---------------------------------------------------------------------------= --- 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