Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Alarm sound


  • Please log in to reply
2 replies to this topic

#1 Darth

Darth

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 17 February 2008 - 10:12 PM

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







#2 gseller

gseller

    Universalist

  • Active Members
  • PipPipPipPipPipPip
  • 1,057 posts

Posted 17 February 2008 - 10:19 PM

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

#3 Darth

Darth

    Wayfarer

  • Active Members
  • Pip
  • 66 posts

Posted 17 February 2008 - 10:31 PM

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





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users