|
Joined: Dec 2002
Posts: 25
Ameglian cow
|
OP
Ameglian cow
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 
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Dec 2002
Posts: 25
Ameglian cow
|
OP
Ameglian cow
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?
|
|
|
|
Joined: Jan 2003
Posts: 2,523
Hoopy frood
|
Hoopy frood
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.
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
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.
|
|
|
|
Joined: Dec 2002
Posts: 25
Ameglian cow
|
OP
Ameglian cow
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...
|
|
|
|
Joined: Oct 2003
Posts: 313
Fjord artisan
|
Fjord artisan
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
|
|
|
|
Joined: Dec 2002
Posts: 25
Ameglian cow
|
OP
Ameglian cow
Joined: Dec 2002
Posts: 25 |
the ^G in dos beeps my pc speaker...
|
|
|
|
Joined: Oct 2003
Posts: 313
Fjord artisan
|
Fjord artisan
Joined: Oct 2003
Posts: 313 |
OK, as I understand it, that is what the API call Beep() should do, too.
Odd.
Sais
|
|
|
|
Joined: Jun 2004
Posts: 19
Pikka bird
|
Pikka bird
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  .
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
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
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
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)
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
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. 
Invision Support #Invision on irc.irchighway.net
|
|
|
|
|