Syncing two different iPhones
Advanced Max user, beginner at RNBO....
I have an audio-generating patch (or, if needs be, just audio) that I'd like to come out of two different iPhones - synchronised. The audio is different for each phone.
It occurred to me I could use RNBO to generate code for an app - or two different websites? - to play the audio - and synch them by having them start on the next whole minute of their respective clocks (and just loop from that point)
My question is: does RNBO have the ability to access the internal clock/any universal clock? Unless I've misunderstood what RNBO can do.
Or is there a simpler way to achieve this that I'm missing? I feel sure there must be.
Thanks for any advice.
Lee
To synchronize audio to multiple devices, you might consider generating your sound with one device and then "casting" it to multiple devices, much like web radio works. We provide the source for the "runner" that we use on the raspberry pi, it can also be built and run on other platforms. I know of at least one person who is running that code in a virtual machine in "the cloud" and then casting it through a webpage so all viewers of that webpage have a more or less synchronized experience.
I'm re-reading your posting and realizing that you're asking a question that a few other people have asked, how to get the current "wall time" into a rnbo patcher.. I suggest you use a parameter and in your integration code you can set that parameter with the current time as you see fit, you can then use that to sync however you want inside your rnbo patchers.
RNBO itself doesn't have a way to get the current time, but it should be easy enough for you to do in javascript.
Thanks Alex - though seeing 'easy' and 'javascript' in the same sentence is a little off-putting. Oh well, time to learn I guess!