WARNING - This tutorial describes the old original JSyn API. Please refer to the current docs for more up-to-date information.
JSyn Tutorial
Hearing Absolute Timing
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 Absolute Timing technique from the previous page, which prevents drifting over time.
To Do:
- Move the window around but don't resize it. Move other windows around on your screen.
- Notice how bad the timing is. The two sequences won't drift out of sync but some of the notes may be late.
Here is the source code for this program.