This Datagate Mk2 OSC module allows control from an OSC source on port 8000. Each OSC message should contain the DMX channel and a channel level in the form of an OSC argument to convey a level, (a float between 0 and 255).

You can only have one OSC module per profile.


OSC Generator module:

  • Send DMX from the Datagate Mk2 using OSC commands.
  • IP address is not used.
  • Send OSC on port 8000 to the Datagate Mk2's IP address.

OSC Examples: 

/dgmk2/4 220 : sends value 220 on 5th DMX channel

/dgmk2/127 125 : sends value 125 on 128th DMX channel

 

How to send OSC packets using UDP:

OSC is transmitted using UDP, therefore you can use raw UDP to emulate OSC and control the Datagate Mk2.


OSC packet needs to be in multiple of 4 bytes and spaced accordingly. OSC packet must be sent in 3 segments (tag, format, value):

  • tag=/dgmk2/<ch>
  • format= ,f
  • value= <float>

Each segment must be a multiple of 4 bytes. Pad with 00 at the end, if required.

Some examples: 

To change DMX channel 5 to value 200:

  • ASCII: (tag, f value) /dgmk2/4\00\00\00\00,f\00\00CH\00\00
  • HEX: 2f 64 67 6d 6b 32 2f 34 00 00 00 00 2c 66 00 00 43 48 00 00

To change DMX channel 121 to value 50:

  • ASCII: /dgmk2/120\00\00,f\00\00BH\00\00
  • HEX: 2f 64 67 6d 6b 32 2f 31 32 30 00 00 2c 66 00 00 42 48 00 00