• Advertisement

Archived

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

Parse Error?

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

quote:
Original post by IRDumb
I was wondering, can i add sound to a dos program?


Yes.

quote:
And if so, how?


That's a slightly more complicated question. You could add simple beeps by printing the alarm escape character (cout << "\a"; ) You could pull up the old assembler and program the speaker device (aaaaaaaaaaaaaaaaaaaaaaaaargh!)

You could learn to program the SoundBlaster, the Gravis Ultrasound and Ad Lib-compliant sound cards (aaargh! Short scream.) There are libraries that can help you do all this, though, so it's no longer as painful as it used to be.

Or... you could switch to Windows, learn to program DirectSound and kick your feet up after that. Your choice. note, however, that sound is not an introductory topic; you need a firm grasp of programming to do even simple sound programming.

EDIT: misinterpreted smiley.

Edited by - Oluseyi on October 11, 2001 10:43:55 PM

Share this post


Link to post
Share on other sites
Advertisement
This is the best thread I have seen in this room since I started visiting this forum a few months ago. I think it is really nice when people post actual questions instead of just saying "How do I make a game?" and then getting angry with the people who reply for telling tham that they need to study and learn programming. It is obvious that IRDumb is taking the time to learn how to code instead of trying to find the "magic" program or advice that is going to make a game for him (or her.) Anyway my point is that I am a beginner too, and it makes me happy to see the experienced programmers are willing to help out us students, and to the instant gratification people looking for the magic program and the shortcut my advice is try another job, because the one constant in this forum is that there is no shortcut.

Share this post


Link to post
Share on other sites

  • Advertisement