From: David Graff <graff@ldc.upenn.edu>
To: sox-users@lists.sourceforge.net
Subject: Re: (no subject)
Date: Wed, 25 Jul 2007 13:37:19 -0400 [thread overview]
Message-ID: <20070725173719.17FCDB2747@lorax.ldc.upenn.edu> (raw)
In-Reply-To: Message from Kevin Cosgrove <kevinc@doink.com> of "Wed, 25 Jul 2007 10:02:21 PDT." <20070725170221.75576BE031@joseph.doink.com>
Sorry -- there was a mistake in that perl script -- it should have been:
perl -e 'while(read(STDIN,$_,2)==2){printf("%d\n",unpack("s",$_))}'
Note the "s" (for signed short int in native byte order), instead "v"
(unsigned short int in "VAX" (little-endian) byte order) -- the "s"
assumes that you're using a little-endian machine. If you aren't, use
the "-x" (xinu) option on sox to invert the byte order of ms-wav pcm
files.
Dave Graff
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
next prev parent reply other threads:[~2007-07-25 17:37 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <kevinc@doink.com>
2007-07-25 17:02 ` [LAU] (no subject) Kevin Cosgrove
2007-07-25 17:31 ` David Graff
2007-07-25 17:34 ` Vijay Gaur
2007-07-25 17:36 ` Rafal Maszkowski
2007-07-25 17:37 ` David Graff [this message]
2007-11-20 18:49 Daniel Payne
-- strict thread matches above, loose matches on Subject: below --
2009-01-06 20:22 JJENGR
2009-01-09 9:13 maanu
2012-10-29 17:42 Eli Sanders
2013-06-18 18:54 Paul Arnold
2014-05-20 14:41 James Spencer
2014-12-27 12:12 paul fellows
2014-12-28 5:43 ` Eric Wong
2015-07-11 4:40 urg
2020-05-12 20:45 Jeff Learman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.sourceforge.net/lists/listinfo/sox-users
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070725173719.17FCDB2747@lorax.ldc.upenn.edu \
--to=sox-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/sox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).