JMSL provides a clock it can use to convert its time into a native time used by JSyn.
Using a JSyn clock in JMSL is achieved by doing the following:
JMSL.clock = new com.softsynth.jmsl.jsyn.SynthClock();
Now the JMSL clock can be consulted to convert between JMSL and JSyn time.
The following code excerpt show how to convert an absolute JMSL time to a native JSyn time.
int jsynTime = (int)JMSL.clock.timeToNative(playTime);
The following code excerpt show how to convert a JMSL duration to a native JSyn duration.
int jsynDur = (int) (JMSL.clock.getNativeRate() * dur);
Using these JSyn times, input ports on JSyn circuits can be banged on JMSL's schedule.