JSyn - modular synthesis API for Java.
JMSL - Java Music Specification Language
PortAudio - cross platform audio I/O API for 'C'

WARNING - This tutorial describes the old original JSyn API. Please refer to the current docs for more up-to-date information.

JSyn Tutorial

Hearing a Sine Wave Oscillator

Let's hear what this sine wave sounds like. In this web page, we are running a JSyn program that creates a SineOscillator, connects it to a LineOut, and starts them both. It is a Java Applet so it can run from a web page in a web browser. The Applet does not start the sine wave immediately. It only starts it when you check the check box.
To Do:

To see how I did this, please look at the source code for this 1.1 AWT style Java Applet.