Make time argument const

Make sure time arguments cannot be modified in the function body.
Use double instead of float for Synth sample offset

Use double for the Synth sample offset in order to avoid roundoff errors
when converting from Methcla_Time to samples. Roundoff errors can cause
the sample offset to be outside of the current block's frame bounds.
Schedule only items that fall within the current block