Get Binary-Data from Wav-File

Moderator #1684078
I wonder if you even tried to search the net a little bit. You may start 
here: http://en.wikipedia.org/wiki/WAV and follow the links.
Some code for "inspiration" may be found in Atmel's Examples for AT91, 
AVR, AVR32... from atmel.com. IRC I have also seen code to read 
WAV-Files in at least one of the examples. There is also a "WAV to 
ADPCM" converter (for PC, with source-code) in the Atmel 
Application-Notes for AVR. In example-codes from Sharp for ARM-based 
controllers there have also been WAV-decoding functions (search nxp.com, 
they acquired this business-section from Sharp). Check Microchip's 
AppNotes, ST Microelectronics STM32, STR7, STR9 AppNotes...
Guest #1684911
Thank you very much for your answers.

I think the way2c is the right thing for me. But it seems like I have to 
compile this program first, before I can use it. Does anybody know how I 
have to do that?

Samuel_Schmid
Guest #1684973
Thank you very much Drachenbändiger. It works.

I'm going to try the binary data as soon as posiible. I hope it sounds 
well.

Is it right that I have to do the 2-Complement with the generated data 
from the binary file or do I have to do that only in a 16-Bit Wav-File?

Thanks

Samuel_Schmid
Guest #1685207
You can feed the data directly into a D/A converter (for 8 bit data, I 
use a simple R2R network). Remove the DC component with a capacitor 
before you amplify the sound.
(Company: POLARIS) #4534761
Hlo sir
Currently i m working on a project ""converting the sign language into 
speech"" therefore i m facing problem to convert "" .wav files into .hex 
file(byte format)"" to store them into micro controller, thn proceeding 
frm external speaker.
so ny1 plz suggest
thank you.
This topic is locked and can not be replied to.