Thursday, July 9, 2009

C code beep through external speakers?

I know how to use the C code beep() function, which outputs a beep sound through the PC internal speaker. Is there a command that will do the very same in terms of freq and duration except output this sound through the external speakers? I am using windows.

C code beep through external speakers?
I think in normal cases its not possible.


To interact with external speakiers.. you need to TALK to that device driver and TELL him to beep.


Hope you got what i am saying. Its not impossible..
Reply:This is the question which i didn't find answer now also.





But i know it can be done using int86() function of dos.h. But it requires greater programming skills and clear idea about interupts. So i started learning assembly language also.





So that i can embed the code in C program using the key word asm.





If you want to help me contact me at "m_gopi_m@yahoo.co.in"


No comments:

Post a Comment