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 25A61208CD for ; Wed, 30 Aug 2017 11:38:49 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1dn1Ka-0004DB-0r; Wed, 30 Aug 2017 11:38:48 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1dn1KY-0004Cp-5W for sox-users@lists.sourceforge.net; Wed, 30 Aug 2017 11:38:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=jChoS/IqsVek4uXjbq/B7rW4XLwGimst4q5iHzWnKtg=; b=jkBAdJ5CJHmAkstZJSdliThC0mUw88rB9GwdfE/T6hTVr3CeKOw85A9Ld4TteeSP4PEim/pvy+/NHVjLe2chi8Ua7iW1nR4CfqpGvSkQnuewGUFvP9VmM2A4BIOW4ZhFerJUEiaCOzT+4p+whwI71nq+UK6YzlajzfGX+wt1NKk=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=jChoS/IqsVek4uXjbq/B7rW4XLwGimst4q5iHzWnKtg=; b=V4zV0DNmtVBjZOPB5xaY5tWQOGzDQzieaQ96b8Qi1V1TzLSo50UajKQNJoaHIKOjOKomYt51zKqFze3TV+U4cToE0UlDoeOkUGIOL+oRp47dOw3AorjBgAKCKeEEM2IgGkDeCuwL8Am3PDmvuhFu48BLAvLmoDSA8hsOopYhOPA=; X-ACL-Warn: Received: from mx.stare.cz ([79.98.77.229]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1dn1KW-0004ET-GJ for sox-users@lists.sourceforge.net; Wed, 30 Aug 2017 11:38:46 +0000 Received: from www.stare.cz (localhost [127.0.0.1]) by www.stare.cz (OpenSMTPD) with ESMTP id 8563b9d7 for ; Wed, 30 Aug 2017 13:38:36 +0200 (CEST) Date: Wed, 30 Aug 2017 13:38:36 +0200 From: Jan Stary To: sox-users@lists.sourceforge.net Message-ID: <20170830113835.GA65612@www.stare.cz> Mail-Followup-To: sox-users@lists.sourceforge.net References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.7.1 (2016-10-04) X-Headers-End: 1dn1KW-0004ET-GJ Subject: Re: Reversing earlier conversion 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 On Aug 29 18:09:56, elefantungen@gmail.com wrote: > Hello, i found an old script that converted some files that i think was in > wav, > I'd like to convert them back. Why? It may not be entirely possible, in the sense of getting back the exact copy of what you had before. (On the other hand, just slapping a WAV header to them is trivial.) > The files now has the ending pcm64a if that helps. That's not any of the formats mentioned in soxformat(7), but the person who named them so probably meant to indicate the format with that suffix. Probably PCM, maybe 64kbps, using the a-law encoding? (this is entirely speculation of course.) > this is the script: > sox "$src" -t raw -r 8000 -c1 -A "$dst" resample -ql > I think this was for sox: Version 12.18.1 That is definitely not the entire script. Post the whole thing if you want people to know what your script actually did. If the script worked, the $src must have been some self-describing format; the output is a one-channel, 8kHz stream of "-A" samples - the "-A" option is no longer present in SoX, but I believe it meant A-law in the 12.x.y days > what would be the "reverse" version of this in a current version of sox? Without knowing what the original format was, and what exactly the script did to it, what does this question even mean? 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