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

Audio Examples made using JSyn - a Java Synthesizer API


How it works:

This applet creates a waveform by adding together sine waves that are multiples of the fundamental frequency.  Select different levels for each harmonic then hit build to see and hear the new sound.

Java not supported!