What\'s the simplest way to generate a sine wave sound at any frequency in Java?
A sample size more than 2 bytes would help, but it doesn\'t really matter.
Use the Java Sound API, and Math.sin to create the actual wave levels.
http://www.developer.com/java/other/article.php/2226701 has an excellent tutorial around this that I had referenced some time ago. http://jsresources.org/examples/ was another useful reference.