crayola@optonline.net wrote: > I am not sure why I would choose either one or the > other but based on what I understand, 8 bit would be more > then enough for sampling the audio signal, since I am only > updating the servo every 20ms, and the PIC can sample at > a much higher rate it appears. An average amplitude over > that 20 ms period (with many samples) would be great to > calculate and give the most accurate result, but one sample > of the amplitude every 20 ms is probably good enough for > this purpose. You could do the averaging using analogue components, which would probably simplify the PIC side of things a fair bit. Have a search for VU meter circuits, that'll give you a rough idea of the sort of thing. Hmm, with a suitable voltage to pulse-width converter circuit you could probably eliminate the PIC entirely... Optimal solution would depend on whether you find software or analogue electronics more scary ;) kim. _______________________________________________ http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist