Results 1 to 3 of 3

Thread: How do I use the computers internal speaker?

  1. #1
    Guest
    I am wanting to add sounds to my program when certain things happen. The computer(s) that it will run on won't always have a sound card and speakers hooked up. Is there a simple way to have a sound play through the internal speaker of the computer? Just something simple like a buzzer type sound.

  2. #2
    Junior Member
    Join Date
    May 2000
    Location
    Milwaukee, Wi
    Posts
    28
    Try using the "beep" command. I believe it uses the pitch and duration as its parameters. so try something like

    Beep(5200,5)

    Make sure u look at the help files to double check the syntax. but the beep command lets you use the computer speaker to play some basic warning sounds and such.

    good luck,

    Shaheeb

  3. #3
    Guest
    Thanks, I will look in to it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width