I am developing a "smart" alarm clock. I need to determine how to I will generate the alarm sounds. The main requirement I have is the ability to generate loud sounds and to vary the sound volume. One option is to use a PIC18Fxx processor (already part of the circuit) to generate the alarm tones and then feed them through an audio amplifier IC and small speaker. I could use a digital potentiometer to vary sound volume, however if I could get the same effect by using the PIC's 10-bit PWM peripherals it would be ideal. Does anyone have code examples or strategies for creating such sound effects using a PIC processor? Thanks --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist