Jump to content
  • Advertisement
Sign in to follow this  

Good Direct Sound programming resources

This topic is 4080 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I told my friend I would try to program him a demo (in exchange for making me some sprites!) in witch the player contolls a sprite with the frequency and amplitude of his voice (aparently he has a game Idea that could change the world).I am new to sound programming and I was wondering if you guys could point me to some good resources for sound programming.One of my books made a reference to a Direct Sound interface called IDirectSoundCapture would learning this interface be a good one to use for the mic input?

Share this post


Link to post
Share on other sites
Advertisement
In terms of getting mic input, there are loads of libraries for getting sound input - DirectSound might be deprecated, I think, but I may be wrong. In any case, try taking a look at an FFT library. Fastest Fourier Transform in the West is probably a good place to start. An FFT is a fast algorithm for the implementation of a discrete Fourier transform (which converts a signal from the time domain to the frequency domain). It's also perhaps worthwhile looking at Wavelet analysis/transforms. More generally, the topic you're looking at is digital signal (sound) processing - a topic which is nicely covered by this (free, online) textbook.

However, the previous are fairly technical and advanced - it's quite possible that this all might have been nicely abstracted by some API somewhere so it's worth looking down that alleyway first, I'd say.

Quote:
Original post by DrunkCanada
frequency and amplitude of his voice (aparently he has a game Idea that could change the world)


The idea of using frequency/amplitude of voice isn't entirely new, just so that he knows. The application however - who knows?

Share this post


Link to post
Share on other sites
Thanks Unbeliever.I dont know exactly what he wants to do yet past that prototype
but I do he wants to do something pretty indepth with sound later on so this DSP
stuff looks like a good read.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!