• Announcements

Sign in to follow this  
Followers 0

Alarm sound

3 posts in this topic

Posted · Report post

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 :)

Share this post


Link to post
Share on other sites



Posted · Report post

pretty cool, only drawback is that it only plays over the PC speaker.. LOL I guess one could write a code to play it over soundboard tho if needed.. :)

Share this post


Link to post
Share on other sites

Posted · Report post

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

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  
Followers 0