buzz44 Posted March 22, 2005 Posted March 22, 2005 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
steveR Posted March 22, 2005 Posted March 22, 2005 (edited) 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 March 22, 2005 by steveR AutoIt3 online docs Use it... Know it... Live it...MSDN libraryglobal Help and SupportWindows: Just another pane in the glass.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now