Services & Resources / Wolfram Forums
MathGroup Archive
*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
  • Subject: [mg52576] Re: .WAV file headers
  • From: David Bailey <dave at>
  • Date: Fri, 3 Dec 2004 03:53:28 -0500 (EST)
  • References: <comgia$6ql$>
  • Sender: owner-wri-mathgroup at

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 

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 

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