![]() |
|
#1
|
|||
|
|||
|
Hello once again!
I think a lot help i need. Would some body tell me, when an Audio player reads a file, say a .wav file, does it read it in HEX or in DECIMAL? I am really unable to get this. I know the format of .wav files. And i want to write a .wav file. Now i am facing problem to write. Should i start wiht RIFF or Its HEX counterpart or its DECIMAL counterpart. If anybody has some information do tell me. Thank you. Regards. bye take care. helloamitraj@india.com |
|
#2
|
|||
|
|||
|
Amitraj,
The contents of the WAV format file are a combination of ASCII text and binary numbers. For example, the "RIFF" that you speak of, is actually stored as 4 ASCII characters, but the audio data is stored as binary. A very detailed description, with a file dump of an actual example WAV file, can be found at http://www.technology.niagarac.on.ca...mat.html<br /> The numerical contents of the file will normally be read in as bytes. The number of bytes per sample and the sample rate are specified in the header. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|