Solved

how to plot .wav file 2

Posted on 2003-11-29
6
618 Views
Last Modified: 2012-06-21
today is extremely hot:
   continue that question I asked yesterday..
  I am planning to use a java application to read the data from .wav file and plot the waveform. I want to plot the data as double format. those data can be used to do further analysis such fft or more. Can you tell me how to extract the raw data from wave file and convert them to double format that I can use to do FFT.

   please !!! Christmas is coming !
                                                         
                                                            Roy from melbourne
0
Comment
Question by:royoz2003
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 Comments
 

Accepted Solution

by:
kengoudsward earned 30 total points
ID: 9893446
Hi Roy,

I don't have a specific example of how to do this but...
Java can do regular file IO and a .wav is really just a regular file, as long as you know the format. So what you need to do is learn about the format.
.wav is actually a variant on the RIFF format, which is fairly straightforward and uses some nice well-defined headers to wrap the actual data to make it meaningful.
There are many websites which explain the format, one is:
http://www.technology.niagarac.on.ca/courses/comp630/WavFileFormat.html
and many more can be found with a search such as "wav riff format" or similar
as far as file IO in java goes, there is some good info in the java.sun.com tutorials

Cheers,
0
 

Expert Comment

by:kengoudsward
ID: 9893459
the java tutorials are at http://java.sun.com/docs/books/tutorial/
if you are not familiar with them I highly recommend them
0
 

Author Comment

by:royoz2003
ID: 9894854
Thanks Kengoudsward:
This  website is quite helpful ,  I can get enough things from it

Thanks

Roy
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question