The ptolemy/media/Audio.java class is used by the ptolemy/media/AudioViewer.java class.
The ptolemy/media/Audio.java class is based on the web page of Billy Donahue. http://www.cooper.edu/~donahu/auformat/auFormat.html. That page no longer exists. This file was created on 1998-08-31, The Wayback machine yields this page for that date: http://web.archive.org/web/19980709194800/http://www.cooper.edu/~donahu/auformat/auFormat.html.
The lin2mu() method is based on an implementation by Anthony Hursh, who included it with the following information:
Copyright 1997 by Anthony Hursh
<hursha@saturn.math.uaa.alaska.edu>
This code may be freely used as long as proper credit is given. It was originally written in C by Craig Reese (IDA/Supercomputing Research Center) and Joe Campbell (Department of Defense), and ported to Java by Tony Hursh, January 1997.
References:
- CCITT Recommendation G.711 (very difficult to follow)
- "A New Digital Technique for Implementation of Any Continuous PCM Companding Law," Villeret, Michel, et al. 1973 IEEE Int. Conf. on Communications, Vol 1, 1973, pg. 11.12-11.17
- MIL-STD-188-113,"Interoperability and Performance Standards for Analog-to_Digital Conversion Techniques," 17 February 1987