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. 

Move the faders to control the level of each harmonic.

Java not supported!