synchronise the start of [writesf~] to (network) clock time?

"Peter P." <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <35gwht6wcht27p6yhmpwtllj2zutrhmdr6jliv5osbjibajidh@gm7gfyw6t4fv>
Hi,

I am trying to record audio with [writesf~] on two computers but have
the beginning of these two recordings in sync. I thought of using zexy's
[time] object to access the computer's clocks, which are synced to network time. 
[time] on my Linux O.S gives me milliseconds with three decimal points,
which should be microseconds.

I tried polling [time] with a high speed [metro 0.001] and compare
that time to a threshold value. But that maxes out cpu usage to 100%.

As a workaround I could somehow encode the start time of [writesf~] into its
first sample and use some python script to synchronise these recordings
later, comparable to broadcast wave timestamps, which I thing have
hms:frame timing resolution.

Is there a more elegant way of achieving this? 

Thank you for all ideas!
Peter

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/AUVOTHTK57V46NXZAAUB4ZIOPGJFRSHN/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.