Bill & Pookie wrote: > are you asking about the internal speaker of the pc that makes tones or the > output of the sound card? The internal pc speaker just gets one bit from > someplace to make tones. > > bill > > I'm talking about the internal PC speaker, I already mentioned that is's just a binary output which removes any problems with linearity etc. Basically the scenario is this: 1. I have the output from the motherboard for the PC speaker. I have no control over it (I don't want to muck around with software drivers, plus this should also work for BIOS beeps and whatnot). 2. I want to control the volume using a PIC microcontroller The idea you mentioned would be fine if I were generating the tones, but I am really just post-processing the signal. Besides, the difference in duty cycle would be noticeable to the human ear if I just vary it to change the volume. -- Hector Martin (hector@marcansoft.com) Public Key: http://www.marcansoft.com/hector.asc -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist