Check This Out

Opus+ algorithmic composition generator in Java.

Our Links

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

JSyn Examples now using the Beta Pure Java JSyn

Note: to hear the Pure Java JSyn you may need to uninstall your old native JSyn plugin. If you had installed it then you can uninstall it using the tool on this page.

To check whether you are running the new version, look in the Java Console when you run the Applet. You should see "Pure Java JSyn".

Multi Segmented Envelope

How it works:

An envelope contains an array of {duration,value} pairs called segments.  These segments describe a contour or shape that can be used to control other unit generators.  In this example, the envelope is connected to the Amplitude of an oscillator.  Portions of an envelope can be queued up for playback. Note that the Synth.FLAG_AUTO_STOP is used to stop the envelope execution when the last segment finishes.  This reduces the CPU utilization which can be seen by clicking on the "Usage" button before and after the envelope finishes.