audio =3D 20Hz-20KHz (50mS-50uS) I'll be interested how you'll sense a 50mS period sinusoidal signal with a 5uS response time. The real question is why, protecting a speaker or generating a signal for a muting device does not need fast response. BTW, you don't need any external logic device except a resistor tied at the comparator input. Vasile On 11/12/06, Jan-Erik S=F6derholm wrote: > dax2@hotmail.com wrote : > > > It doesn't have to be instantaneous in processor time. > > I'm willing to go a few cycles. I doubt anyone would > > notice a few microsecond of lag time. > > Now, are we talking about what can be "noticed" by an > human (eye) ? Then even a few *millisecons* or a few > *10's* of millisecons would probably be just fine. > > It's probably quite a difference between "a few us" and > "a few ms" when it comes to designing the (external) > signal smoothing circuit. From something fast using > active (opamps) components to simple things using > maybe only a few passives. > > Now, if you realy need "a few" (5-10 ?) *us* response > time, well so be it. > > Another important design criteria is what the volume > is. If these "products" are ment to be made in large > quantity, one might look into simpler hardware and put > more of the "logic" into the firmware. If low volume, > it could be wise to simplify the firmware by adding > some extra hardware... > > Jan-Erik. > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist