JSyn ---- Java Audio Synthesis API
Using the Event Buffer
-
Java real-time operation is unpredictable.
-
So time critical operations such as set(), queue(), and start() may be
time stamped for future execution.
-
Provides very precise timing and also simplifies timed sound effects.
sampler.sampleRate.setAt( startTime, 23456.7 );
sampler.samplePort.queue( startTime, mySamp, 0, attackSize );
sampler.start( startTime );
Deletion is deferred until after all references are clear from event buffer.
sampler.stop( startTime+dur );
sampler = null;
[TOP] [PREVIOUS]
[NEXT]
Visit the JSyn or SoftSynth
home pages.