|
[Date Index]
[Thread Index]
[Author Index]
Re: [Q] How to read (and analyze) .WAV files?
- To: mathgroup at smc.vnet.net
- Subject: [mg5097] Re: [mg5012] [Q] How to read (and analyze) .WAV files?
- From: Mark Evans <evans at sm1.gte.net>
- Date: Wed, 30 Oct 1996 22:03:45 -0500
- Organization: None
- Sender: owner-wri-mathgroup at wolfram.com
Hi Carlos -
I have the same problem. The closest thing to a solution is the package
Miscellaneous`Audio` which has a routine called ReadSoundfile[]. this
routine can handle WAV files. As I just said in a recent post to this
newsgroup, this package has a bug. It will not read 16-bit WAV files, so
you must convert to 8-bit format or fix the bug yourself. I have not made
the attempt yet. It also has the fundamental flaw of being terribly slow.
You'll wait about a minute or two to load in a ten-second sound file.
I was going to try the FastBinaryFiles package by Todd Gayley, but I've had
some problems getting it going under Mathematica 3.0
Mathematica 3.0 has a sound input/output utility that reads, writes, and
modifies WAV files, BUT DOES NOT DO THE MOST IMPORTANT STEP OF ALL, which is
to get the data into Mathematica as a list of numbers! How frustrating!
If there is a way to get the data out of this utility and into the kernel, I
hope someone will tell me about it. I've not been using 3.0 very long so
there may be something I missed. I did try a lot of variations of
copy/paste. The sound utility would only paste the sound as an embedded
object.
Mark Evans
evans at gte.net
Carlos Wexler wrote:
>
> Hello,
>
> I would like to analyze some audio stuff that I've recorded with my sound
> card. The data is recorded in either mono or stereo, either 8 or 16 bits
> per point, and either 8,11,22 or 44 ksps. The programs I have can record
> into .WAV files but I don't know how to read them from Mathematica. Any
> clues?
>
> Thanks!
>
> Carlos
>
> --
Prev by Date:
Re: tick labels in 2-D plots
Next by Date:
Re: Derivatives of InterpolatingFunctions
Previous by thread:
[Q] How to read (and analyze) .WAV files?
Next by thread:
Re: Simplification of (a^2)*Sqrt[a^(-2)]
|