Hi Enrike,

you'll probably find that syncing many devices together (especially via a wifi network) is a rather difficult task.
Many parameters can make it complicated, above all network latency and device latency. Network latency is often quite variable and unpredictable, and the same goes for audio latency on Android.

That said, it seems that the best solution currently is Ableton Link (https://www.ableton.com/en/link/), which is a GPL cross-platform library and protocol.
It is implemented to Pd through the [abl_link~] object (available from Deken for most platforms).

In some case where [abl_link~] wouldn't work (I had crashes on a raspberryPi), you can use Carabiner which provides a network socket to Link:
https://github.com/Deep-Symmetry/carabiner

good luck!


Le mar. 5 mars 2019 à 17:18, enrike <altern2@gmail.com> a écrit :
hi all

We need a chronometer that runs in sync in multiple devices at the same
time. Target platform is android, and if possible iOS as well. We are
thinking also that it would be great to have some sort of metronome
running together with the chronometer (we have trained musicians
together with non trained musicians in the ensemble).

So far we have been using http://chronograph.io/ so far but it is not
100% reliable, we had a few issues last performance (one device was ~1
sec behind the others, and often during rehearsals we had problems with
the start signal not being sent at all).

I am considering the possibility of implementing this functionality in
PD using PDdroidparty and OSC. Because we dont like the tools we have
found online. We found some nice metronomes but the only one that seems
to sync is only iOS. And we do need the chronometer (in fact priority n1
is the chronometer right now). I thought maybe someone can point into
some existing alternative before I try to reinvent the wheel.

One of the biggest issues I foresee is to find an easy and quick way for
the master device to find out the available slaves in the network. I
would not like to have to, one by one, find and then type the IPs of
each single device in the master device, although the master could be a
laptop running PD and that would make it easier to type them...

thanks in advance for any feedback

enrike



_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list