Obviously you first have to know frequencies of musical notes which you can find at http://www.phy.mtu.edu/~suits/notefreqs.html. Then you have to decide what shape your sound will have (square wave, sine, triangle, DAC'd out waveform). The best method I have found is to "step down" your basic waveform at a speed that is your note (or sound effect) frequency. This method will make up for any "jitter" in the timing of your output to your DAC and allow you to form multiple notes at once, each with a differing envelope. Obviously the amount of effort you give is in proportion to how important to the product the musical reproduction is. If it is the entire product, a lot, if it is just another method of alerting, not much. Tom Mariner -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of CagaAnan, Rogelio Sent: Monday, November 03, 2003 11:37 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]: Sound Generation Could anybody direct me to some information regarding Sound Generation using any PIC device? I am looking for something that would generate musical notes. Thanks. ********************** ** LEGAL DISCLAIMER ** ********************** This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.