Need Help with Sounddata.h

Hi, I am not an expert at Arduin, i simply want to add the Sounddata.h at this link:
http://playground.arduino.cc/Code/PCMAudio
Thanks, i searched on the net, but nothing made sense as to how to add this piece of text as a library. Please forgive my idiocy.

(deleted)

Thanks!

Nirbhay-Thacker:
Hi, I am not an expert at Arduin, i simply want to add the Sounddata.h at this link:
http://playground.arduino.cc/Code/PCMAudio
Thanks, i searched on the net, but nothing made sense as to how to add this piece of text as a library. Please forgive my idiocy.

sounddata.h contains an array of C syntax code, which was created from an audio file in .WAV audio format.

Typically there are existing command line tools which can convert .wav to .c code.
I'm on Windows and use a tool named wav2c.exe for doing so.

If you want to create something like sounddata.h, you first need an audio file:

Then vonvert the audo file into an 8-bit and 8kHz .WAV file.

Then use wav2c tool program and convert to .c array code

Then copy and paste the array into your Arduino IDE and sounddata.h

Which part is the problem?

Creating 8-bit/ 8 kHz audio .WAV file?
Or what?

Thanks for wav2c idea, it will be useful in my project, but the main problem has been solved by spycatcher2k.