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 EC7C21F42B for ; Fri, 10 Nov 2017 13:30:57 +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 1eD9Oa-0005de-3T; Fri, 10 Nov 2017 13:30:56 +0000 Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.192] 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 1eD9OY-0005ca-3o for sox-users@lists.sourceforge.net; Fri, 10 Nov 2017 13:30:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Message-ID:Subject:To: From:Date: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=CK5kpd8gP10yU5UYx/uzM22unIetg8INMiO2PknhJ1s=; b=SR/bZDxuM0A7IGh4lnrAJqGQoO s2mdXaGkp/OkZELRp4lRdtkB2ugWp65FauRQqF2CI5kLCsyaA1y2+ZXDXUrEFfHGEbbhDoZTYZnzg XEKy6ULlMrx42gZXq4yDRBP1fiS2yPQU223NdwHLNn89pxYKw4oYVQfK6BqLuO2/c2MI=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date: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=CK5kpd8gP10yU5UYx/uzM22unIetg8INMiO2PknhJ1s=; b=Z e/HS9PsrG1xMEHsQzmvgRBkc/pc7+FRfbQUSUbnog7WxlRweIrxLdslaOW84X8GiDMR+nkbS+W/+o kY568Bf/x4mFtGLLu6jJXIfNuWVWyU6L5rVWBg+fyZAKp2v+zWc3IpeYPQTsgiRc6oo2A73mIeoen ehptb9tLG9hwiSqM=; Received: from ns.stare.cz ([79.98.77.229] helo=mx.stare.cz) by sfi-mx-2.v28.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) id 1eD9OW-0002rv-JJ for sox-users@lists.sourceforge.net; Fri, 10 Nov 2017 13:30:54 +0000 Received: from www.stare.cz (localhost [127.0.0.1]) by www.stare.cz (OpenSMTPD) with ESMTP id 1023bf94 for ; Fri, 10 Nov 2017 14:30:44 +0100 (CET) Date: Fri, 10 Nov 2017 14:30:44 +0100 From: Jan Stary To: sox-users@lists.sourceforge.net Message-ID: <20171110133044.GA14739@www.stare.cz> Mail-Followup-To: sox-users@lists.sourceforge.net MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) X-Headers-End: 1eD9OW-0002rv-JJ Subject: 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="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: sox-users-bounces@lists.sourceforge.net 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? (That would probably not make sense for self-describing formats: $ play -c 1 -r 48000 -e float -b 32 pcm1.raw file.wav file.mp3 ) Jan ------------------------------------------------------------------------------ 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