Welcome to %s forums

BrainModular Users Forum

Login Register

Sync two machines receiving same OSC

I need help on a Patch
Post Reply
dmitriyc
Member
Posts: 84
Contact:

Unread post by dmitriyc » 06 Feb 2018, 02:10

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!

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 06 Feb 2018, 15:30

Maybe not ideal, but adding a data delay on the faster machines can solve this ?

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 06 Feb 2018, 16:25

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)
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

dmitriyc
Member
Posts: 84
Contact:

Unread post by dmitriyc » 07 Feb 2018, 03:37

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 83 guests