Jump to content

Alarm sound


Darth
 Share

Recommended Posts

I was bored in math class and was wondering what a sign function would sound like so I wrote this

dim $X
dim $y
dim $z
$x=1
$z = 1
While ( $z = 1)

$y = 1000*sin($X) + 1050
Beep($y, 10)

$x = $X + .05

WEnd

It will play a sign wave noise that's pretty annoying, now I know it's pretty useless on its own but I've seen a few scripts that lock your computer and I figure this could be useful to draw attention to an attempted break in. If i have time I'll turn this in to a UDF just so I can see how that whole process works later :)

Link to comment
Share on other sites

Well I wouldn't consider that a draw back, cause you can't mute it when trying to break in to someone's computer :)

Thanks for the feed back :)

There's also this one that play R2-D2 like noises

dim $x
dim $z
$z = 1
while ($z = 1)
$x = random (1000,20000, 1)
beep ($x, 100)
Wend
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...