Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: .WAV file headers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg52576] Re: .WAV file headers
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Fri, 3 Dec 2004 03:53:28 -0500 (EST)
  • References: <comgia$6ql$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

John Reed wrote:
> Is there a way to extract the information from wave file headers in 
> Mathematica?  The header is the first 11 words of the wave file and consists 
> of 4 byte ASCII words and 4 byte integers encoded as ASCII strings.  I need 
> the integers from header words 7 (samples/second), 9 (two 2 byte words, 
> bytes/sample and bits/sample) , and 11 (number of bytes in the file).
> 
> John Reed 
> 
Hi,

At 5.1 you have fast binary I/O - so since you know exactly what 
information you want, it should be very easy using the new BinaryRead 
function.

David Bailey


  • Prev by Date: Fedora3 segmentation fault
  • Next by Date: Re: Another Integrate error
  • Previous by thread: Re: .WAV file headers
  • Next by thread: Re: .WAV file headers