> Lorick wrote: > > Someone suggested another way for me to measure the RMS of a sine wave by > > just multiplying the samples by .707 using floating point methods and > > accumulate that in just 16 bits. > > I might be able to make a reasonable suggestion if I know a bit > more about what you are doing. There are often alternatives to the > full blown floating point megamemory approach. > I must admit... my first reaction is to stick an RMS analog i.c. between the source and the A/D input if all the specs match. In a one off/medium cost app this beats flogging the brain cells into deeper dementia and may be more accurate (quantizing errors come after the conversion, not before). _____________________________ Lance Allen Technical Officer Uni of Auckland Psych Dept New Zealand www.psych.auckland.ac.nz _____________________________