Advertisement Jump to content

Archived

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

uncutno

Real time generated sound!

This topic is 5349 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!