Re: DirectSound



Fonon wrote:

I'm looking for description of use the basic DirectSound functions - especially buffering technique. I need to create a simple real-time generator program with frequency controlled by external parameter.
Somebody helps me?
fonon
http://www.softlookup.com/display.asp?ID=7427&RID=0274371&DID=4J58YURT
Down load that, play with it.
that'll get you started..

there's a lot to do..
for a simple sine wave out, you can use the basic trig sin/cos math
to plot the PCM bits.
for complex out, you can simply sum them ..
how ever, for complex record (in), you may want to look into FFT
(fast fourier Transforms) and faster way to do DFT but not as good
on results. In most cases, it's fine.


--
"I'm never wrong, once i thought i was, but was mistaken"
Real Programmers Do things like this.
http://webpages.charter.net/jamie_5

.