Where's the Beep?

No Beep in Vista

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 1550 Views - Last Post: 19 December 2008 - 11:28 AM

#1 RobG   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 26-May 07

Where's the Beep?

Post icon  Posted 18 December 2008 - 05:25 AM

Anyone know what happening with Beep, is this just another vista kcoc?
I'm really tempted to go back to xp, so fed up with updating most of my code.

Any ideas?
Is This A Good Question/Topic? 0
  • +

Replies To: Where's the Beep?

#2 janotte   User is offline

  • code > sword
  • member icon

Reputation: 991
  • View blog
  • Posts: 5,141
  • Joined: 28-September 06

Re: Where's the Beep?

Posted 18 December 2008 - 06:14 AM

Here you go:
http://www.vistax64....sound-gone.html

Don't move back to XP.
Move forward.
Get a Mac :lol::xmas:
Was This Post Helpful? 0
  • +
  • -

#3 RobG   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 26-May 07

Re: Where's the Beep?

Posted 18 December 2008 - 06:20 AM

View Postjanotte, on 18 Dec, 2008 - 05:14 AM, said:

Here you go:
http://www.vistax64....sound-gone.html

Don't move back to XP.
Move forward.
Get a Mac :lol::xmas:



Maybe, if it rains!
Was This Post Helpful? 0
  • +
  • -

#4 RobG   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 26-May 07

Re: Where's the Beep?

Posted 18 December 2008 - 07:00 AM

View PostRobG, on 18 Dec, 2008 - 05:20 AM, said:

View Postjanotte, on 18 Dec, 2008 - 05:14 AM, said:

Here you go:
http://www.vistax64....sound-gone.html

Don't move back to XP.
Move forward.
Get a Mac :lol::xmas:



Maybe, if it rains!



Thanks for the link, but it seems that this was just full of others searching for the same
answer and so many confusing the sytem tones with our good ol Beep(freq,duration) function.
I've got a sneaky suspicion that it's the incompatabilty of 32 bit functions and 64 bit drivers.

cheers

RobG
Was This Post Helpful? 0
  • +
  • -

#5 chuck981996   User is offline

  • D.I.C Head
  • member icon

Reputation: 5
  • View blog
  • Posts: 119
  • Joined: 03-July 08

Re: Where's the Beep?

Posted 18 December 2008 - 10:33 PM

View Postjanotte, on 18 Dec, 2008 - 05:14 AM, said:

Don't move back to XP.
Move forward.
Get a Mac :lol::xmas:


Oh so true! :D :^:
Was This Post Helpful? 0
  • +
  • -

#6 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: Where's the Beep?

Posted 18 December 2008 - 10:39 PM

View PostRobG, on 18 Dec, 2008 - 06:25 AM, said:

Anyone know what happening with Beep


I'm lost. Are you talking about the PC speaker?
Was This Post Helpful? 0
  • +
  • -

#7 OliveOyl3471   User is offline

  • Everybody's crazy but me!
  • member icon

Reputation: 135
  • View blog
  • Posts: 6,581
  • Joined: 11-July 07

Re: Where's the Beep?

Posted 18 December 2008 - 11:05 PM

Um, yeah. My computer has Vista, and although Vista sucks, the computer can beep. ;)

//no2, don't follow me. I'm lost too.
Was This Post Helpful? 0
  • +
  • -

#8 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: Where's the Beep?

Posted 18 December 2008 - 11:07 PM

It's sort of like Marco/Polo, except we are all under water.
Was This Post Helpful? 0
  • +
  • -

#9 yunusabd   User is offline

  • D.I.C Head

Reputation: 3
  • View blog
  • Posts: 104
  • Joined: 25-October 08

Re: Where's the Beep?

Posted 18 December 2008 - 11:09 PM

Its been a while since I played with my computers beeper :P but I think there may be something for it the bios, settings that is.

also if you want to know for sure if it is dead or not just hit shift rapidly a few times that should make a beep>sticky keys

This post has been edited by yunusabd: 18 December 2008 - 11:10 PM

Was This Post Helpful? 0
  • +
  • -

#10 no2pencil   User is offline

  • Professor Snuggly Pants
  • member icon

Reputation: 6968
  • View blog
  • Posts: 31,958
  • Joined: 10-May 07

Re: Where's the Beep?

Posted 18 December 2008 - 11:29 PM

** Moved to Computer Support & Operating Systems **
Was This Post Helpful? 0
  • +
  • -

#11 baavgai   User is offline

  • Dreaming Coder
  • member icon


Reputation: 7507
  • View blog
  • Posts: 15,558
  • Joined: 16-October 07

Re: Where's the Beep?

Posted 19 December 2008 - 03:17 AM

I often go to some effort to get rid of the built in speaker beep; major annoying.

I don't know about Vista, but there is an ascii BEL value that most operating systems try to honor as best they can.

Try this, in whatever variation you like:
printf("%c",7);

Was This Post Helpful? 0
  • +
  • -

#12 RobG   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 14
  • Joined: 26-May 07

Re: Where's the Beep?

Posted 19 December 2008 - 09:47 AM

View Postbaavgai, on 19 Dec, 2008 - 02:17 AM, said:

I often go to some effort to get rid of the built in speaker beep; major annoying.

I don't know about Vista, but there is an ascii BEL value that most operating systems try to honor as best they can.

Try this, in whatever variation you like:
printf("%c",7);




OK, one more time for those with learning difficulties...
the Beep function is not the system Beep, it is not the Windows Beep,
it is not controlled by nor is it in the bios. It is not any of the windows
warning tones. If you look for it in any of these places you will go
sadly astray. Beep is a Win32 sys function.

BOOL Beep(DWORD dwFreq, DWORD dwDuration);

It seems that so many of you know nothing of Win32 system services.
if you want to achieve any degree of knowledge in c++, then Win32
is an essential building block. As for Beep, its a vital function
used by every coder that I know, more as a debugging aid as anything
else. After all the Beep will tell you within 20ms or better exactly where
in the program you are.
Was This Post Helpful? 0
  • +
  • -

#13 GWatt   User is offline

  • member icon

Reputation: 312
  • View blog
  • Posts: 3,107
  • Joined: 01-December 05

Re: Where's the Beep?

Posted 19 December 2008 - 10:36 AM

OK, calm down.
I did some digging (read: 30s of google) and found that the Beep function has been replaced with MessageBeep:
http://msdn.microsof...356(VS.85).aspx

And, by the by, not knowing the Win32 API does not mean that you are ignorant about C++. Most of the people who posted before you do not prefer to use windows. It makes sense that they would not be as familiar with windows programming as someone who prefers to program on windows.
finally, how is beep a useful debugging utility? When my computer beeps I get annoyed. printf/cout call can be far more helpful as they are persistent and can actually tell you something about what's happening in the code without the debugger having perfect pitch.
</rant>
Was This Post Helpful? 0
  • +
  • -

#14 baavgai   User is offline

  • Dreaming Coder
  • member icon


Reputation: 7507
  • View blog
  • Posts: 15,558
  • Joined: 16-October 07

Re: Where's the Beep?

Posted 19 December 2008 - 10:42 AM

View PostRobG, on 19 Dec, 2008 - 10:47 AM, said:

OK, one more time for those with learning difficulties...


Nice.

For those with listening difficulties...

Quote

Beep Function

Generates simple tones on the speaker. The function is synchronous; it performs an alertable wait and does not return control to its caller until the sound finishes. -- http://msdn.microsof...277(VS.85).aspx


Here, speaker means speaker.

It's not a vital function, it's a noise maker. The speaker has been effectively obsolete for over a decade as most modern systems are smart enough to use actual sound cards.

Indeed, the error events that usually trigger a "beep" have been redirected to a notification event since at least Windows 98. In some Windows OS, when you chose "No Sound" would insist on giving you some feedback on error events and would default to the speaker.

There are also technical issues in using the internal speaking in an asynchronous environment. To the point that Windows NT had an early bug on multi CPU systems where it would crash out entirely if a speaker call managed to sneak through.

My answer to you is that you probably can't get to the speaker without compromising your OS. And that, sir, is last answer you'll have from me.
Was This Post Helpful? 0
  • +
  • -

#15 Locke   User is offline

  • Sarcasm Extraordinaire!
  • member icon

Reputation: 552
  • View blog
  • Posts: 5,624
  • Joined: 20-March 08

Re: Where's the Beep?

Posted 19 December 2008 - 10:51 AM

View PostRobG, on 19 Dec, 2008 - 08:47 AM, said:

BOOL Beep(DWORD dwFreq, DWORD dwDuration);

It seems that so many of you know nothing of Win32 system services.


Don't bite the hand that feeds. Remember, YOU came to US for help. :angry:

Keep in mind, we don't all use Windows. Look under baavgai's avatar for example. He likes/uses Linux. I do too. We don't all use Windows. It's far too cumbersome.

This post has been edited by Locke37: 19 December 2008 - 10:55 AM

Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2