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 Relative Timing

The WRONG Way to Schedule Notes) This Applet trys to play two parallel sequences of steady notes. One is twice as fast as the other. The fast one plays a four note sequence and the slow one plays a two note sequence.

It uses the relative timing technique from the previous page which is prone to timing drift and late notes.

To Do:

Here is the source code for this program.