> 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? Why not use a 16F87x which has a PWM module to generate sound? It cannot be that much more expensive than a 16F84, and would surely make better sound. It also has an A/D converter to digitize sound if that helps. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu