include scheduler in context instead of separate arg
rewrite oscillator to make simpler and faster
added trigger and sync back
0.2.0