LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

question about StartPCSound() function

 

Hi all,

 

  I am using StartPCsound( unsigned int ) function  in my coding and i want to acquire
  voltage from the audio signal generated by this function.

 

  Is this practically possible to extract the voltage?

 

  Any help will be greatly appreciated.

0 Kudos
Message 1 of 4
(3,057 Views)

Hi,

 

according to Wikipedia, the PC speaker produces a square wave with only 2 output levels via pulse-width modulation.

 

Moreover, different motherboards may have different audio chips, so I doubt that any meaningful statement concerning the output voltage can be made.

 

Wolfgang

Message 2 of 4
(3,051 Views)

 

Hi again

 

   Please correct me if i am wrong that the StartPcSound ( ) function generates the BEEP by means of buzzer

  or speaker on the mother board.

 

  When i try to see this signal on Oscilloscope on the  " LINE OUT "  pin of audio connector, nothing appears on 

 oscilloscope. Why?

 

 Is there any way to Route this generated BEEP signal to the LINE OUT pin? So that it can be seen

 

 Thanks.

0 Kudos
Message 3 of 4
(3,027 Views)

Hi msh 100,

 

The sound is produced on the motherboard and is not connected to the line out of you audio connector.  This is why you are not seeing it on your scope.  There is no way to route that sound to line out. 

Regards,

Hassan Atassi
Senior Group Manager, Digital Support
0 Kudos
Message 4 of 4
(3,002 Views)