mIRC Home    About    Download    Register    News    Help

Print Thread
#164642 14/11/06 07:01 PM
E
EmLoDnAoR
EmLoDnAoR
E
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,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
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?

#164644 14/11/06 07:15 PM
E
EmLoDnAoR
EmLoDnAoR
E
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,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
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
D
DaveC
DaveC
D
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
E
EmLoDnAoR
EmLoDnAoR
E
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: 284
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 284
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?

#164649 15/11/06 12:36 PM
E
EmLoDnAoR
EmLoDnAoR
E
the ^G in dos beeps my pc speaker...

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

Odd.

#164651 19/11/06 05:39 AM
Q
Qb_Master
Qb_Master
Q
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,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
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.

#164653 19/11/06 06:53 PM
D
DaveC
DaveC
D
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,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Ah, I misread that and I didn't think about getting a $chr value for Ctrl-G. smile


Link Copied to Clipboard