Home > Reference > MediaControl

MediaControl

MediaControl is the NETLab helper application that handles control of external media such as sound and lighting. The current version supports communication with MIDI and the DMX lighting protocol. Communications with MediaControl are made through the OSC protocol. MediaControl can be used independently of the rest of the NETLab components.

DMX

To use it for DMX lighting, you must have the Enttec DMX USB Pro interface. In the NETLab Widgets, use the DmxOutput widget. If the DMX USB Pro is attached correctly, MediaControl will recognize it, and automatically connect to it. To test your DMX connection, select the “open dmx faders” button in MediaControl, and a new window will open with a set of 16 faders. Once you are sure you are communicating will your DMX devices, use the DmxOutput widget in Flash.

To communicate directly and control DMX, send an OSC command to port 51010 with the format:

/mediacontrol/dmxout/data dmxchannel value

For example, to send a value of 255 to DMX channel 205, the OSC command would be:

/mediacontrol/dmxout/data 205 255

MIDI

For MIDI, use the MidiOutputNote or MidiOutputCtrl widgets. To make sure your MIDI configuration is correct, set the MIDI connection to the appropriate value – usually “from MediaControl_mac 1″ for software MIDI applications – This should make it available to other MIDI applications. For MIDI hardware, select the appropriate piece of hardware. You can then test with the on-screen keyboard for making notes, and the controller slider for MIDI control messages.

To communicate directly and control MIDI, send an OSC command to port 51010 with the format:

/mediacontrol/midiout/note/data midiNote midiVelocity midiChannel

For example, to send a midi note 64 with a velocity of 127 to MIDI channel 12, the OSC would be:

/mediacontrol/dmxout/data 64 127 12


Last modified August 26th, 2011