chrishall3
Technical User
Hi all,
not quite a newbie, but confused all the same.
Trying to create my own .wav files from straight .raw format files, ie numbers only.
Got the original part working where I convert .wav to .raw, by stripping the header, and fstream the binary data to the .raw file as ints, but the opposite has left me stuck.
I've tried the reverse, but that didnt work, due to not having the header, but I cant find a simple solution to creating this header in binary.
All I'm going to create are 16khz, mono 8-bit unsigned .wav files, so a generic header might do the trick I think.
Anyone have any ideas??
thanks all,
Chris
not quite a newbie, but confused all the same.
Trying to create my own .wav files from straight .raw format files, ie numbers only.
Got the original part working where I convert .wav to .raw, by stripping the header, and fstream the binary data to the .raw file as ints, but the opposite has left me stuck.
I've tried the reverse, but that didnt work, due to not having the header, but I cant find a simple solution to creating this header in binary.
All I'm going to create are 16khz, mono 8-bit unsigned .wav files, so a generic header might do the trick I think.
Anyone have any ideas??
thanks all,
Chris