Absolute time at k-rate


I have two separate Csound processes both sending OSC values to a shared mediator (OSC server in Python). Since the processes don’t start exactly at the same time, I’m wondering what the best would be to timestamp the packets they send to the server, to be able to calculate the diff in timing between them.

Currently, I’m using

istart date
kreltime times
ktimestamp = istart + kreltime

And then sending ktimestamp as part of the OSC message. Is this a reliable way of doing it?

The date opcode gives me exactly what I want, but it seems to only be available at i-rate.

i think this is a good way to do it. i’d say: just try and report
issues here.
best -