Page 1 of 1
Posted: 06 Feb 2018, 02:10
by dmitriyc
Hey guys.
I have a play button. There are many like it, but this one controls playback from two PC's at the same time. I send OSC, they both spit out Audio into a physical mixer. Here is the conundrum: no matter what I do, the second PC seems to be just slightly behind. I have a third machine which sends OSC commands as well as the sync info. I start both machines from the master machine and everything looks in sync, except one computer is faster than the other. HALP!
Posted: 06 Feb 2018, 15:30
by nay-seven
Maybe not ideal, but adding a data delay on the faster machines can solve this ?
Posted: 06 Feb 2018, 16:25
by oli_lab
are you using 2PC to have more outputs or to get more CPU power ?
in the first case, you could play everything in one computer and send it on ethernet to the other computers to the physical outputs.
some reaplug can do the sound other ethernet (reastream)
Posted: 07 Feb 2018, 03:37
by dmitriyc
hey guys thanks for the responses!
nay-seven: I was thinking about adding a delay on the faster machine, and while it makes sense, I wish there was a better way to handle something like this. It is consistently latent and a fix like this is realistic, however, I want to see if I can find a way by changing the buffer or block size to achieve the same
oil_lab: I am using 2pcs as a way to spread out processing and bring it back together through a mixer. I am familiar with the likes of vienna ensemble pro, where you get to instantiate a separate TCP/IP protocol to send data to and receive audio from a slave computer. While that will fix my issue, It will also add an unacceptable amount of latency and possibly a choke point for processing. The idea is, to send information one way and that is out to analog.
I was thinking perhaps different sound cards buffer differently (but would have been solved by changing buffer size) I am also looking into seeing if this is a sound driver issue...The two PC's are actually a laptop and desktop, and perhaps the nature of the data flow inside them both is the culprit...going to try two laptops instead and see if the results are the same. Going to also try a delay on the fastest one. I know this will work because I have started both computers with a manual delay of hitting the space bar between them and on the off chance I happened to catch the beat....the one time. I am also going to try different lengths of and the same ethernet cable. If you guys have anything else in mind I could try....I'm all ears.