Well I'm not sure what your trying to accomplish but the way that is most standard is to use an A/D converter, 8-10-12 bit ( the higher the Bits the greater the resolution ) The higher the clock speed the more samples per second. Describe what your constraints are , that would help.