DMX intesity via OSC
Posted by DusX on 6 December 2011 | Comments
The user actor / Isadora patch that I have created was originally developed as one re-usable component for interfacing my Isadora video SYStem to LightJams. LightJams is an amazing visual authoring environment for creative lighting display and control. It supports DMX, art-net, Wii, OSC, Midi, Video analysis, Audio analysis, and much more.. For you to follow along with my instructions you will need to have LightJams installed (sorry Windows only). You can install the demo version for the purposes of testing this actor/patch. Also if you have not yet you will need to have Isadora (latest version) installed as well.
STEP 1 run the isadora file
We need to open the GlobalIntensity Isadora file and set it up so that it is playing a video file and outputting OSC on the correct address.
Lets Do It:
Open Global Intensity Isadora file.
Open the Patch View if the file defaults to the control panel.Find the LightJams auto inverse intensity actor (located bottom right). Look at the input settings for port and address.
Note: that the address is set to '/lj/osc/0'.
'/lj/osc' is the root incoming address for LightJams and can be found in the config settings, the follow zero tells it to send on the first sub address (each address segment to the left is the parent of the following segment on the right).
Note: in LightJams the first value is '1' and in Isadora the first value is '0'
Load a video into your media bin, Edit the input of the Movie Player actor to match that of the movie you just added and make sure that Isadora's engine is active. If you see a video in the Control panels video display Isadora should now be sending the OSC (open sound control) values to the assigned address, and you are ready to move on and configure LightJams.
STEP 2 Open and configure LightJams
Now we just need to ensure that LightLams is setup to listen for OSC on this computer (OSC can use IP addresses to transmit between computers on your network).
Lets Do It:
Select View->Configuration->OSC and ensure the Input adapter is set 127.0.0.1 (inside computer). The other default settings (port number) are used inside the User actor and we don't need to worry about them. You can of course edit all of these settings and create a very complex configuration if you like, but for now I have built the components using the simple defaults. You can also now open the new OSC input monitor (monitor button left) and you should see a scrolling list of values coming it from Isadora.
Close the Config window.
You are now looking at the Root LightJams system. Click on the Intensity slider (lower left), this is the Global intensity setting. Now click 'OSC' in icon based menu located directly below the Intensity slider. This allows you to define the Input type of the slider (Default is the Finger, meaning controlled via your mouse) You will now see a table of numbers just to the right. These are the OSC address channels, remember that in Isadora we selected /0 but LightJams counts from 1, so click on the 1 (the 1 should start to highlight green if Isadora is running the file and you have the correct settings so far.
LightJams will fade the channel number from black to bright green based on the value received 0 thru 1) You should now see the value indicator to the far right drawing a wave according to the data being received from Isadora.
Watch the video to see how LightJams and Isadora should be working together if you have followed the instruction correctly.