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

Hear a Siren Circuit

In this example, we created a subclass of SynthCircuit called Siren. It uses a TriangleOscillator to modulate the frequency of a SquareOscillator.  The Siren can be instantiated and used just like a regular JSyn unit generator.

To see how I did this, please look at the source code for the Siren circuit and the Java Applet that uses it.