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 Sustained Note

Let's queue separate portions of an envelope for the attack and release portion of a sustaining note.

This applet has two buttons.
The "Attack" button queues the beginning of the envelope.
The "Release" button queues the ending of the envelope.

To Do:

Here is the source code for this program.