there is some code for managing big tables (for wav tables etc...) on http://www.piclist.com I think it is http://www.piclist.com/../microchip/tables but if you go the main page and hit "FAQ" then "Routine Library" then Memory / tables etc... you should find it. James Newton, PICList Admin #3 mailto:jamesnewton@piclist.com 1-619-652-0593 phone http://www.piclist.com ----- Original Message ----- From: Brian Jones To: Sent: Saturday, August 19, 2000 10:59 Subject: [PIC]:Music Apologies to those who get this twice - James Newton has just reminded me that my original append didn't have the [PIC] header so may not have reached its full audience. I run a 'warm iron' evening at my ham radio club every December. The idea is I design and kit something simple for the members to build - must take less than a couple of hours and cost less than 10 dollars. Last years 20 sequenced LED Xmas tree driven by a 12C509 was a great hit. I'd like to add music this year but can't find a cheap source of Holtek tune chips so was wondering what I'd need to make the 16F84 (or whatever) sound decent. Obviously a starting point is a simple square wave with the roughness filtered. But how do I make a richer tone - what harmonics do I need? Is it a simple job of adding harmonic square waves suitably attentuated and feeding all the outputs to the filter/speaker? Any ideas ?? Brian E Jones Centre for Java Technology IBM HURSLEY -- 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 list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics