Hi,
I am using PWM for sound generation on STK600(ATmega2560). PWM frequency I am using is 31.25KHz. By using coolwave I have converted sound file to to 8-bit PCM mono wav format. And then used hex editor to get corresponding hex values. But I am not getting how to separate header from wav file to get data bytes only? Is there any particular software or any other method to do so .
Paul I will definitely go through your files and I am using hex editor to get values of wav files and then storing it on dataflash. Afterwards I am reading those values and putting them one by one on match compare register. Initially I have tried for a wav file which was available for me and it worked fine. But as I am trying now for different wav file it doesn't work. So it must be wav file header issue, code works fine.
If anyone wants to remove header from wav file, visit the link below. It is very useful. It says it supports Win32 and Linux/x86, but it worked for Windows 7 too.