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

IOhannes m zmoelnig via Pd-list <[email protected]>
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
On 10/16/25 08:54, Peter P. wrote:
> 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?


if you want to have sample-accurate resolution, this is a non-trivial task.

zexy's [time] will give you the current system time, but Pd uses an 
audio buffer, so the actual system time might will typically not 
correspond (nor have a constant offset) to an imaginary timestamp 
attached to a "sample" as it leaves your soundcard.

we did something like synchronous recording on multiple devices in the 
wilma project a couple of years ago (<https://wilma.kug.ac.at>).

iirc, it involved special hardware that was synched via radio (not NTP 
over WiFi) and encoded the wall clock timestamps within a dedicated 
audio channel.



gfmasdr
IOhannes

-- 
please do not CC me for list-emails

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

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmjwp4AFAwAAAAAACgkQtlAZxH96Nvg8
MQ//bg5kxzkOYpS+yyU7YLbB83nokygF5XW83mghIP/Jir3P/LHCQRoJkvy5F/TESQlHRKQtZLHr
WskiPGh40P1vYX89Qd1eBBPOPCcRLf8ozWRWOweX7u1GYKzu+r38cElrFkYOTKbjYngQh8X/Esil
QKjtAKK2+QwLeTw9AxdRuPOGVONeXL+qa+v3kVNe91Z+9edwaBj1LBu/grzGEAwDsZp13da4zFXK
MpkcG8g7JAgINrE3iSKqgkSI/2+/hTNVW6l2FBXwR94tPWiM4Qc7GIRIsNvJQbOuUIRArnkatg8P
EA56uVJHVtYvPQ4Xzy/m6XkkPoOvAXA6g9mWjd3WgUuhSyWbzQRatvxW4GmDBQ0n6vQWRCYXYcao
wDwMOmOomYbMEfnAHonFztjmzt+h4Lolqrik265oIgnY0grIfqjVdw8xzEN3A92n9jH64YEareDI
mu+j+eTc6szPy9XLfx60dQ94R1ze2/qaMlZ9UdQZg80/Vt3YqoVdIP/+4phjS4kr8I4hA4rzDHva
UlXbVgvEwd8/Med0oz0QQANKVMz/JPr5FiBO6ADfbij6UGcHe9OlN9wwX+axZFN5QB0BMvFCdfXu
ow8PEdVHqtGkH9AljIWFh5UwJAmgIdhyoYkgHUnmIpjL4f3+9lY8mvKYNLu+kraBKbYBSSKlSetE
Me8=
=7oLa
-----END PGP SIGNATURE-----
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.