RE: Q about WAV format
- Posted by Al Getz <Xaxo at aol.com> Apr 18, 2001
- 372 views
jstory at freenet.edmonton.ab.ca wrote: > I found a website that describes WAV files. It tells me everything > except one little detail that I need to know. The first 43 bytes I can > ignore except for bytes 10-11 which tell me whether it is mono or > stereo. > What I'm interested in is the bytes from 44 to the end. Each byte is > from > 00 to FF; 00 is negative voltage, FF positive voltage. My question is: > in > the case of stereo, where is the data for one ear and the data for the > other ear? Am I correct in guessing that bytes 44,46,48, etc are for > one > ear, and bytes 45,47,49, etc. are for the other ear? > This has nothing to do with Euphoria except that I was considering > making a program in Euphoria that would modify WAV files. > > Jerry Story > > > Hello there, I'm pretty sure the bytes alternate, L,R,L,R, etc. One way to test this is to simply make a stereo wave file with both channels recording from the same mic. Save the file and look at the bytes with a hex editor. Have fun with it. --Al