Forums > MaxMSP

Synchronizing Multiple computers running Max/MSP

April 6, 2006 | 2:02 am

Hi Everyone,

I’m looking for information on synchronizing the audio on multiple
computers running max. This would have to be sample-accurate
synchronization. Is there a way of doing this? I suspect there is not,
but hope to be proven wrong…

Thanks,

Aengus.


____________________
http://www.am-process.org


April 6, 2006 | 8:46 am

This should not be a problem at all, you need either soundcards with a
wordclock (ment for exactly that purpose) or just connect some
audiochannels digitally and have all but one be slaves to the digital input.

Most cards do have extra spdif connectors, you can use those to clock
everything from one master.
This has also the advantage to be able to send your custom sync signals
to each computer along these connections. You might have to calculate
the latency correctly, but thats always a constant number of samples.

Stefan

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09


April 6, 2006 | 12:18 pm

another way is Open Sound Control (OSC). this is something like midi but
then 21387286 times better with more possibillities in diffirent messages
including audio. the lemur is based on it for example.
connenct two computers in a network, set the ip-adress, and it should work.
well, its a bit more complicated but you can find objects and helpfiles for
it at maxobjects.com

poul


poul holleman
student composition & musictechnology
HKU, netherlands
email: pholleman@gmail.com


April 7, 2006 | 4:13 am

That sounds good – but how would one calculate the latency correctly?


____________________
http://www.am-process.org


April 8, 2006 | 6:38 am

Aengus Martin wrote:
> That sounds good – but how would one calculate the latency correctly?

There is the DSP status window. You set the buffersize there in samples,
and then there is a sampling rate… But we are in Max land there must
be a way to patch it:

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 165 213 183 196617 send latency_of_this_computer;
#P newex 186 139 183 196617 receive latency_of_other_computer;
#P comment 238 166 215 196617 < - add output latency of other computer;
#P button 47 91 15 0;
#P newex 165 163 31 196617 +;
#P flonum 165 188 66 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 106 139 69 196617 sampstoms~;
#P newex 47 115 69 196617 adstatus iovs;
#P comment 238 190 215 196617 < - input and output Latency of this computer;
#P connect 3 0 8 0;
#P connect 7 0 4 1;
#P connect 2 1 4 0;
#P connect 4 0 3 0;
#P connect 5 0 1 0;
#P connect 1 1 2 0;
#P window clipboard copycount 9;

[][] [][][] [][] [][][]
[][][][][][][][][][][][][][][]

Stefan Tiedje
Klanggestalter
Electronic Composition
&
Improvisation

/~~~~~
\ /|() ()|
))))) )| | |( \
/// _/)/ )))))
___/ ///

————————-x—-
–_____———–|———–
–(_|_ —-|—–|—–()—-
– _|_)—-|—–()———–
———-()————x—–

14, Av. Pr. Franklin Roosevelt,
94320 Thiais, France
Phone at CCMIX +33-1-57 42 91 09


Viewing 5 posts - 1 through 5 (of 5 total)