Tutorial Time-sync and sending IO Commands over OSC Protocol: Difference between revisions

From MXWendler Wiki
Jump to navigation Jump to search
No edit summary
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
This tutorial applies to all different OS and MXWendler versions.
<div class="noprint">
== Introduction==
</div>
In this tutorial we will sync two MXWendler systems and simultaneously control the playlist of both the computers by sending IO commands over OSC protocol.
In this tutorial we will sync two MXWendler systems and simultaneously control the playlist of both the computers by sending IO commands over OSC protocol.


Line 7: Line 11:


Setting the network:
Setting the network:
: To communicate over the OSC protocol, the machines have to be connected to the same network.
* To communicate over the OSC protocol, the machines have to be connected to the same network.
: The time signal will go from the computer with the lower IP (''Master'') to the computer with the higher (''Slave'').
* The time signal will go from the computer with the lower IP (''Master'') to the computer with the higher (''Slave'').
: In our case the ''Master'' has the 192.168.4.32 IP address and the ''Slave'' has the 192.168.4.91.             
* In our case the ''Master'' has the 192.168.4.32 IP address and the ''Slave'' has the 192.168.4.91.             
{{#mpdftags: pagebreak}}
{{#mpdftags: pagebreak}}
Setting the software on both the computers:
Setting the software on both computers:
:1. Start MXWendler and go to:
 
:: '''Menu - Settings - IO - OSC'''   
1. Start MXWendler and go to:
:2. Check Receive OSC '''(A)'''
: '''Menu - Settings - IO - OSC'''   
:3. Set port to 7000 '''(B)'''
2. Check 'Receive OSC'. '''(A)'''
:4. Check Log received data (this allows the Log Window to display the data stream that the computer is receiving) '''(C)'''
 
:5. Check ''Broadcast and receive time'' and ''Forward IO Events'' '''(D)'''
3. Set port to 7000. '''(B)'''
 
4. Check 'Log received data' (this allows the Log Window to display the data stream that the computer is receiving). '''(C)'''
 
5. Check ''Broadcast and receive time'' and ''Forward IO Events''. '''(D)'''




Line 24: Line 32:




Now all the machines will send their time until they start to receive packets from a machine with lower IP, then the ones with a higher IP will switch to receiving.


''Now all the machines will send their time until they start to receive packets from a machine with lower IP, then the ones with an higher IP will switch to receiving''.
6. Open the Log Windows of the two computers: the flow of time commands should be displayed on the ''Slave'' system.


:6. Open the Log Windows of the two computers: the flow of time commands should be displayed on the ''Slave'' system.
The 2 MXWendler systems are now connected and synchronized.


''The 2 MXWendler systems are now connected and synchronized.''
{{#mpdftags: pagebreak}}
[[File:OSC 02.PNG|728px]]
[[File:OSC 02.PNG|728px]]


{{#mpdftags: pagebreak}}
{{#mpdftags: pagebreak}}


== Simultaneous control of 2 playlists with IO Commands via OSC ==
== Simultaneous Control of 2 Playlists with IO Commands via OSC ==




Line 47: Line 53:




{{#mpdftags: pagebreak}}
3. Set an IO Command in the Master system's playlist.
3. Set an IO Command in the Master system's playlist.


4. Right click on the first cell of the second cue, select "Send IO Command" and then double click to write the command: "Keyboard (right)".
4. Right-click on the first cell of the second cue, select 'Send IO Command' and then double click to write the command: "Keyboard (right)".


''Now, by pressing the play button on the Master computer, the playlist will be simultaneously executed on the Slave.''
Now, by pressing the play button on the Master computer, the playlist will be simultaneously executed on the Slave.


[[File:OSC 04.PNG|728px]]
[[File:OSC 04.PNG|728px]]

Revision as of 14:59, 25 March 2020

This tutorial applies to all different OS and MXWendler versions.

Introduction

In this tutorial we will sync two MXWendler systems and simultaneously control the playlist of both the computers by sending IO commands over OSC protocol.


{{#mpdftags: pagebreak}}

Pooling MXWendler Systems via time Synchronization

Setting the network:

  • To communicate over the OSC protocol, the machines have to be connected to the same network.
  • The time signal will go from the computer with the lower IP (Master) to the computer with the higher (Slave).
  • In our case the Master has the 192.168.4.32 IP address and the Slave has the 192.168.4.91.

{{#mpdftags: pagebreak}} Setting the software on both computers:

1. Start MXWendler and go to:

Menu - Settings - IO - OSC

2. Check 'Receive OSC'. (A)

3. Set port to 7000. (B)

4. Check 'Log received data' (this allows the Log Window to display the data stream that the computer is receiving). (C)

5. Check Broadcast and receive time and Forward IO Events. (D)



Now all the machines will send their time until they start to receive packets from a machine with lower IP, then the ones with a higher IP will switch to receiving.

6. Open the Log Windows of the two computers: the flow of time commands should be displayed on the Slave system.

The 2 MXWendler systems are now connected and synchronized.

{{#mpdftags: pagebreak}}

Simultaneous Control of 2 Playlists with IO Commands via OSC

1. Set a playlist on both the computers.

2. Create an event on the slave computer to control the playlist's play button, for example with the right arrow key.

eg. Menu - Settings - IO - DMX/MIDI/Keyboard Events - Keyboard


{{#mpdftags: pagebreak}} 3. Set an IO Command in the Master system's playlist.

4. Right-click on the first cell of the second cue, select 'Send IO Command' and then double click to write the command: "Keyboard (right)".

Now, by pressing the play button on the Master computer, the playlist will be simultaneously executed on the Slave.