What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Can you make it beep?

dojah

New Member
Joined
Jan 20, 2010
Messages
12
Reaction score
0
What with CC's and all there is no issue on the HB side of things, just curious if anyone has figured any way to get GB to throw an internal speeker beep out there?
 
EDIT: just noticed you're talking about GB forget the post below...

sure it's possible

PHP:
using System.Media;

SystemSounds.Beep.Play();
//or
SystemSounds.Asterisk.Play();
//or
SystemSounds.Exclamation.Play();
//or
SystemSounds.Hand.Play();
//or
SystemSounds.Question.Play();

u can choose which one u like, this is not tested in hb but should work
 
Last edited:
Code:
int frequency = 440;
int duration = 1000;
Console.Beep(frequency, duration);
 
Back
Top