Exporting samples in direct sound?
Hello, technically this isn't strictly game development related but I have to ask. I hope this is the correct forum, here goes. I'm writing a program using direct sound, and I want to load a few samples, play them at the same time and then export / record / render them to a new sample. For example :
1) load a.wav and b.wav into my program
2) ??? some direct sound magic ???
3) export the samples to a new wave file -> out.wav
I have tried searching google but all that comes up is microphone related recording which isn't what I'm after, as I want to record or export or whatever internally in direct sound. So if anyone can point me to some sort of tutorial / source code on the web I would be most grateful.
Cheers.
If you want to play a number of samples at the same time then you need to read DXSDK Dsound toturioals - it's ll explained there.
But if you want to mix them together then the ebst ay to do it is on your own - it's an easy thing - i don't think dsound fits or this purpose because it send bytes to the hardware thru Primary Buffer and there are no possibilities to read suitable data from it(from what i know...)
But if you want to mix them together then the ebst ay to do it is on your own - it's an easy thing - i don't think dsound fits or this purpose because it send bytes to the hardware thru Primary Buffer and there are no possibilities to read suitable data from it(from what i know...)
www.tmreality.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement