Jump to content
Sign in to follow this  
buzz44

motherboard speaker beep?

Recommended Posts

buzz44

i was wondering if anyone would be able to help me if u can get the "motherboard beep" ....

eg

when u boot up your comp and u mash the keyboard with the palm of your hand the speaker beeps ... or maybe if u turn it on

is that what a dial up modem uses ?? to produces its sound

because i was playing an old game from like the 90's called "captain cosmic" or sumthing like that, and the "theme music" for this game was made by making different pitches with the "motherboard speaker" as i say

so ne1 =)


qq

Share this post


Link to post
Share on other sites
steveR

I had tried doing this a while back with ascii code 7 but ended up using this. It produces the standard beep.

$hertz = 450
$duration = 100
DllCall ("kernel32.dll", "long", "Beep", "long", $hertz, "long", $duration)

Edit: I just found this in another post. It'd easier than making a api call if you just need a beep.

Run(@ComSpec & " /c "&chr(7),"",@SW_HIDE)

But using the api call you can make music! :)

Edited by steveR

AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×