-
May 9th, 2010, 08:26 AM
#1
Beep Function
Hello,
I set the frequency to 700 and time to 1000ms, like this:
But I can't hear the beeping sound on my laptop. Why is it? My laptop is Sony Vaio. Do laptops have internal speaker?
Thanks!
-
May 9th, 2010, 09:08 AM
#2
Re: Beep Function
What is Beep? I don't think that's a winapi, nor std C/C++ call.
-
May 9th, 2010, 09:14 AM
#3
-
May 9th, 2010, 11:16 AM
#4
Re: Beep Function
Beep's output comes from system's internal speaker, which is generally on motherboards. Not all mother boards have this. The sound will not come from normal speakers. You can use PlaySound API instead.
-
May 14th, 2010, 03:52 AM
#5
Re: Beep Function
Ajay Vijay: Don't be so sure about that.
In Windows 7 Beep is actually played thought the system sound output. You can in fact mute or lower the volume.
Isn't very clean though. I imagine it's not used for much.
-
May 14th, 2010, 12:04 PM
#6
Re: Beep Function
MSDN says:
Muting and volume control have no effect on Beep; you will still hear the tone. To silence the tone, use the following commands:
net stop beep
sc config beep start= disabled
Terminal Services: The beep is redirected to the client.
Windows Me/98/95: On computers with a sound card, the function plays the default sound event. On computers without a sound card, the function plays the standard system beep.
-
May 14th, 2010, 03:17 PM
#7
Re: Beep Function
Originally Posted by Ajay Vijay
MSDN says:
I read that too. Seems to be outdated. My guess it it had changed in either Vista or 7. Beep() on my computer actually plays a tone of x frequency for y duration through the sound system (in this case my headphones) thought it is kinda gritty as there is a noticeable pop every time Beep is called.
Last edited by Chris_F; May 14th, 2010 at 03:19 PM.
-
August 6th, 2010, 10:06 AM
#8
Re: Beep Function
Originally Posted by MagniB
Hello,
I set the frequency to 700 and time to 1000ms, like this:
But I can't hear the beeping sound on my laptop. Why is it? My laptop is Sony Vaio. Do laptops have internal speaker?
Thanks!
One thing you can try is open command line (run->cmd) and enter:
it should enable the beep if it disabled.
Cheers
-
August 12th, 2010, 12:50 AM
#9
Re: Beep Function
hi,
My Laptop(Sony Vaio) i can't hear beep voice. Pl. tell to why it is not hearing a beeping?
will suggest to more information. I hope to soon reply
thanks in advance
regards,
phe9oxis,
http://www.guidebuddha.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|