mIRC Home    About    Download    Register    News    Help

Print Thread
#164642 14/11/06 07:01 PM
Joined: Dec 2002
Posts: 25
E
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Dec 2002
Posts: 25
mIRC does not play beeps with the pc speaker when i turn that feature on..

"Use pc speaker

Makes mIRC play beeps through your pc speaker.

"

it just plays it on my normal soundcard frown

#164643 14/11/06 07:08 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Many motherboards with an onboard soundcard don't use the PC speaker at all, they play the sounds meant for the PC speaker through the soundcard (yes, even during boot). Are you sure this isn't the case for yours?


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
#164644 14/11/06 07:15 PM
Joined: Dec 2002
Posts: 25
E
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Dec 2002
Posts: 25
i am sure, and i have used different pcspeaker.exe to test my pcspeaker, and surely the sound comes from the pc speaker, also talked to others, and they could not get it to work, did it work for you?

#164645 14/11/06 07:20 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
I can't test it, as my motherboard is one of those.

After testing a bit more, it seems the "Use pc speaker" doesn't make any difference here with respect to the sound produced: it still produces the Windows "Default Beep" sound (Control Panel > Sounds) and not the PC speaker beep.

Last edited by qwerty; 14/11/06 09:42 PM.
#164646 14/11/06 09:36 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
from memory the pc speaker can be beeped though manipulation of a port in the pc, but i dont think when u beep the speaker in mirc its doing this, rather its some command to the os to do it, and if the os isnt going to do it, it wont do it. So the exe u used might have bypassed the OS all togther maybe.

#164647 15/11/06 05:35 AM
Joined: Dec 2002
Posts: 25
E
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Dec 2002
Posts: 25
whatever the "os command" is, mIRC should figure that out and do the right thing, or this is a feature that not will work on any of the new motherboards i guess...

so in my opinion its a bug...

#164648 15/11/06 09:28 AM
Joined: Oct 2003
Posts: 313
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
If an app tells the OS (via its API) to play something via the PC Speaker, and it does something different, that's not a bug in the app.

If the OS tells the hardware to play something via the PC Speaker and it doesn't, it's not a bug in the OS.

If the hardware you bought doesn't do what you want it to, then it's probably your fault <evil grin>

Anyway. A couple of things: Beep() is the windows API call to use the PC Speaker; I'd assume (with a large amount of confidence) that's what mIRC uses.
At a command prompt, does "echo ^G" (that's ctrl-g) give a PC speaker beep or not?


Sais
#164649 15/11/06 12:36 PM
Joined: Dec 2002
Posts: 25
E
Ameglian cow
OP Offline
Ameglian cow
E
Joined: Dec 2002
Posts: 25
the ^G in dos beeps my pc speaker...

#164650 15/11/06 02:29 PM
Joined: Oct 2003
Posts: 313
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
OK, as I understand it, that is what the API call Beep() should do, too.

Odd.


Sais
#164651 19/11/06 05:39 AM
Joined: Jun 2004
Posts: 19
Q
Pikka bird
Offline
Pikka bird
Q
Joined: Jun 2004
Posts: 19
This may not work in mIRC, but I remember that a way to produce a beep in some DOS languages was by outputting a certain character to the screen. I think it may have been chr 8.

Just a possible suggestion smile.

#164652 19/11/06 04:38 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Ctrl-8 doesn't work, but Ctrl-G does (as was mentioned). The trick would be sending that to the command prompt from mIRC. Although Ctrl-G looks like ^G at the command prompt, you can't just send ^G because it won't work, so using the /run command to open CMD and send ^G won't work. And I'm unsure how you send a control+character in the /run command.


Invision Support
#Invision on irc.irchighway.net
#164653 19/11/06 06:53 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I think he actually said chr 8 not ctrl-8, but he was really thinking of chr7 which is ctrl-g anyway.

ps: this is a /run of it chr7 // ctrl-g

//run -n cmd /c echo $chr(7)

#164654 20/11/06 02:19 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Ah, I misread that and I didn't think about getting a $chr value for Ctrl-G. smile


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard