Link to home
Start Free TrialLog in
Avatar of fatihbarut
fatihbarut

asked on

Convert .wav (sound) to Graphic (jpg etc.) using delphi: Wav to binary -> Interperate binary-> Number to points-> Join points and draw

Hi,
Briefly I want to do what matlab do. Or what echolizers do using delphi
Is it possible to convert .wav files to graphic like I summirized in the header of this message...
Thank you

Avatar of den4b
den4b
Flag of Ireland image

Your description is a bit confusing, especially the conversion process. You want to graph the sample values from the WAV file, plotting sound waves basically?
Avatar of fatihbarut
fatihbarut

ASKER

Hi
I want to convert a short wav file to the jpg picture like  I attached
untitled.jpg
Are these just plotted samples values in time domain? What are both axes mean?

If it is just samples, then it is simple. All you gotta do is read in wav file, which is relatively easy since it is not compressed. Then add them to a chart (TChart, comes with every Delphi I think). Do you need a hand with reading in the wav file?
Dear den4b I really liked your approach

Could you explain little bit please, especially how can I do that with codes because I have never done that before thank you.

Not: Lets say our wav file is sample.wav

I need the codes below
1- Reading the wav file as binary
2- Adding binary datas into chart.
Thank you
ASKER CERTIFIED SOLUTION
Avatar of den4b
den4b
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Quote
"you might be underestimating wav file reading"

Yes you are right therefore I changed my way to get professional components help. And get one which is called mmtools

Thank you...
I dont need this subject anymore and I dont want to make point distrubition
Suit yourself.
I've put in enough effort that usually is worth the points.
I find another way to solve my problem and abondan this subject, and this subject was very easy and not worth 4x500 point therefore I give C grade