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 Sustain Loop
Let's queue an envelope loop to get a tremolo effect during the sustain portion of a note.This applet has three buttons.
The "Attack+Steady" button queues only the beginning of the envelope.
The "Attack+Wiggle" button queues the attack plus a wiggling sustain
loop.
The "Release" button queues the ending of the envelope.
To Do:
- Hit the "Attack+Steady" button. Notice that the amplitude rises then holds steady at a high level..
- Hit the "Release" button. Notice that the sound dies away.
- Hit the "Attack+Wiggle" button. Notice that the amplitude rises then wiggles.
- Hit the "Release" button. Notice that the sound dies away.
Here is the source code for this program.