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