Has anyone had some expirience on working with wav files?
I have to manipulate with chunks, and each of those has a function for its self?
Has anyone had some expirience on working with wav files?
I have to manipulate with chunks, and each of those has a function for its self?
what are you talking about? chunks don't have functions... At least not inside the wav-file.
You can write functions that will extract data from each chuck according to its format, or you can use some library, that will do it for you...
If you choose the first way - you can start with reading some info about wave-file, for example here http://www.borg.com/~jglatt/tech/wave.htm
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
I wrote a small program that automates a task where I change the sample rate of a source file saving numerous output files with different sample rates. This changes the speed of the song or sound effect without modifying the wave itself, preserving the quality indefinitely. Basically, the WAV file header, being 44 total bytes, describes the file like the sample rate, number of channels, bits per sample, and other such related data.
Just what do you want to manipulate anyway?