Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

uncutno

Real time generated sound!

This topic is 5167 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

Hi! I have tried this for a while now, but i cant fint the way to do it... searched directsound, openal and the win32.... I want to generate my own sound buffer , like a 16 bit short[x] array... then i want to play this in the left or the right sound channel (both simultaniusly, but different buffers)... Then i want to keep feeding the sound system with buffers that i fill directly with data, so that i get a contiious computergenerated sound! I want to create a sinus Synth on my computer, so sound files are unusable since i want to create,mix and play the sound in my own software! anybody know a system, witch part of the system that can do this? any references? The APIs (OpenAL/DirectSound) is best at playing prerecorded files... -anders

Share this post


Link to post
Share on other sites
Advertisement
Check out this thread for some good pointers. My post about halfway down has some source for using the windows multimedia library (more specifically, the WaveOut function).

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!