471,605 Members | 1,595 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

wav file to float

I have to create a float value list from a stereo wav file. i need
following datas:

time, left channel value,right channel value

how can i do this?

i also need to read the file's bitrate...

any hint or link would be useful. thanx in advance.

Dec 20 '05 #1
1 2058
Hi Be-Two,
I have to create a float value list from a stereo wav file.


I would start here:

http://www.wotsit.org/search.asp?page=8&s=music

From this page, you can download the .WAV file format specications, and
armed with the knowledge, you could write an application to parse the .WAV
files.

I haven't done this myself, but in the simplest case when the file is not
compressed (PCM mode), you should be able to read the integer channel values
almost directly once you skip the file header.

Hope this helps!

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Dec 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.