Personal tools
The Open Lighting Project has moved!

We've launched our new site at www.openlighting.org. This wiki will remain and be updated with more technical information.

Difference between revisions of "OlaOutput Max External"

From wiki.openlighting.org

Jump to: navigation, search
(How to use the OlaOutput Max External)
(Install and Use OlaOutput in Max/MSP/Jitter)
 
(13 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== How to use the OlaOutput Max External ==
+
=== How to use the OlaOutput Max External ===
  
  
This article describes how to configure OlaOutput on Mac OS X 10.5 (or greater) for use in Cycling 74's Max/MSP/Jitter or Ableton MaxForLive environments.
+
'''This article describes how to configure OlaOutput on Mac OS X 10.6 (or greater) for use in Cycling 74's Max/MSP/Jitter or Ableton MaxForLive environments. The object is compatible with Max 5 and 6 (both 32-bit and 64-bit versions), and Ableton Live 8 and 9.
 +
'''
  
1. First, download the latest build of OLA from here and install it. OlaOutput is only compatible with OS X (for now).
+
If you would like to build your own copy of the OlaOutput plugin, follow these [[OlaOutput_Build_Intructions| instructions]].
 
[http://code.google.com/p/linux-lighting/downloads/list OLA downloads]
 
  
2. OLA is a separate application from Ableton Live and Max/MSP. To use it to output DMX from DMaX, you need to start the OLA daemon first. Before you do this, make sure any USB devices you wish to use are plugged in and their drivers are installed.
 
  
Open Terminal (found in Applications/Utilities), type the following and press enter:
+
==Download and Install OLA==
  
olad -l2
 
  
This will start the OLA daemon.
+
*[https://github.com/OpenLightingProject/ola/releases Download the latest build of OLA] and install it. OlaOutput is only compatible with OS X (for now).
  
 +
*IMPORTANT: If you are planning on [[OLA_Install_Using_MacPorts|installing OLA via MacPorts]], you must install OLA with the '''+universal''' option
  
3. OLA has a HTTP web interface for configuration. You can access it at: [http://localhost:9090 http://localhost:9090]
+
*OLA is a separate application from Ableton Live and Max/MSP/Jitter. To use OlaOutput to send DMX, you need to start the OLA daemon first.
 +
'''NOTE:''' Before you do this, make sure any USB devices you wish to use are plugged in and their drivers are installed.
  
OLA won’t do anything until it’s configured. You need to setup which DMX universe each hardware device will operate on. To do this, select ‘Devices’ from the left-hand menu in the OLA web interface.
 
  
4 Click on the + next to the device you wish to use. You will see a variety of boxes labeled ‘IN’ and ‘OUT’. We want to configure a universe for output, so choose the correct ‘OUT’ box for the port you wish to use and enter a number into it to specify the universe. 1 a typical starting value.
+
*Open Terminal (found in Applications/Utilities), type the following and press enter:
  
Once you’ve done this, press ’Save Changes’ at the bottom of the list.
+
<code><pre>olad</pre></code>
  
5. Click on ‘Universes’ on the left-hand menu. You should now see a list of the universes specified for output, which should include the one you just specified.
+
This starts the OLA daemon.
  
6. Click on the 'Console' link, and use the sliders to test that OLA is controlling your DMX devices
+
==Configure OLA==
  
7. To install OlaOutput as a Max/MSP external, [http://code.google.com/p/olaoutput/downloads/list download the latest version] and place the files in a folder somewhere on your system. Make a note of this path for the next step.
 
  
8. Load Max/MSP. Choose ‘Options>File Preferences…’. Then use the plus button on the lower left to add the path to the folder containing the externals you wish to install. This will tell Max to look in this folder for externals to use. Make sure you keep the files in this place, or Max will be unable to locate them.
+
*OLA has a HTTP web interface for configuration. You can access it at: [http://localhost:9090 http://localhost:9090]
  
9. Create a new Max patcher, and add an OlaObject to the canvas. If Max is unable to find OlaOutput, it will log a message to its output window.
 
  
10. The OlaOutput object has 2 inlets. The left inlet is used to send a series of DMX messages using the list structure. The (optional) right inlet is used to set the universe that is the destination for messages. For further details about how to use OlaOutput in Max, consult the ''OlaOutput.maxhelp'' file included in the download.
+
*OLA won’t do anything until it’s configured. You need to setup which DMX universe each hardware device will operate on. To do this, select ‘Devices’ from the left-hand menu in the OLA web interface.
  
11. Create a message object in Max with the values 128 200 250 (separated by spaces). Connect the outlet of this message object to the left inlet of the OlaOutput object.
 
  
12. Lock the patcher, and click on the message object. The above values (128, 200, 250) should be sent out to channels 1, 2, 3 respectively.
+
*Click on the + next to the device you wish to use. You will see a variety of boxes labeled ‘IN’ and ‘OUT’. We want to configure a universe for output, so choose the correct ‘OUT’ box for the port you wish to use and enter a number into it to specify the universe. A universe value of 1 a typical starting value.
  
  
13. Once you’re done, you can shut down olad using the 'stop olad' link on the ‘Home’ page of OLA's web interface.
+
*Once you’ve done this, click ’Save Changes’ at the bottom of the list.
  
  
For additional help with and information about OLA, visit [http://opendmx.net/index.php/OLA the OLA Wiki].
+
*Click on ‘Universes’ on the left-hand menu. You should now see a list of the universes specified for output, which should include the one you just specified.
 +
 
 +
 
 +
*Click on the 'Console' link, and use the sliders to test that OLA is controlling your DMX devices
 +
 
 +
 
 +
==Install and Use OlaOutput in Max/MSP/Jitter==
 +
 
 +
 
 +
*To install OlaOutput as a Max/MSP external, download the latest version and place the files in a folder somewhere on your system. Make a note of this path for the next step.
 +
 
 +
 
 +
*Load Max/MSP. Choose ''Options>File Preferences…''. Then use the plus button on the lower left to add the path to the folder containing the externals you wish to install. This will tell Max to look in this folder for externals to use. Make sure you keep the files in this place, or Max will be unable to locate them.
 +
 
 +
 
 +
*Create a new Max patcher, and add an olaoutput object. If Max is unable to find olaoutput, it will log a message to its output window.
 +
 
 +
 
 +
*The OlaOutput object has 2 inlets. The left inlet is used to send a series of DMX messages using the list structure. The (optional) right inlet is used to set the universe that is the destination for messages. For further details about how to use OlaOutput in Max, consult the ''olaoutput.maxhelp'' file included in the download (you can access this quickly from Max by alt-clicking on the object).
 +
 
 +
 
 +
*Create a message object in Max with the values <code>128 200 250</code> (separated by spaces). Connect the outlet of this message object to the left inlet of the OlaOutput object.
 +
 
 +
 
 +
*Lock the patcher, and click on the message object. The above values (128, 200, 250) should be sent out to channels 1, 2, 3 respectively.
 +
 
 +
==Wrapping Up==
 +
 
 +
 
 +
*Once you’re done, you can shut down olad using the 'stop olad' link on the ‘Home’ page of OLA's web interface. OLA will remember your universe patchings next time you start it up.
 +
 
 +
 
 +
For additional help and information about OLA, visit the [[OLA| OLA Wiki]] page.
 +
 
 +
[[Category:Articles]]

Latest revision as of 06:57, 1 May 2015

How to use the OlaOutput Max External

This article describes how to configure OlaOutput on Mac OS X 10.6 (or greater) for use in Cycling 74's Max/MSP/Jitter or Ableton MaxForLive environments. The object is compatible with Max 5 and 6 (both 32-bit and 64-bit versions), and Ableton Live 8 and 9.

If you would like to build your own copy of the OlaOutput plugin, follow these instructions.


Download and Install OLA

  • OLA is a separate application from Ableton Live and Max/MSP/Jitter. To use OlaOutput to send DMX, you need to start the OLA daemon first.

NOTE: Before you do this, make sure any USB devices you wish to use are plugged in and their drivers are installed.


  • Open Terminal (found in Applications/Utilities), type the following and press enter:
olad

This starts the OLA daemon.

Configure OLA


  • OLA won’t do anything until it’s configured. You need to setup which DMX universe each hardware device will operate on. To do this, select ‘Devices’ from the left-hand menu in the OLA web interface.


  • Click on the + next to the device you wish to use. You will see a variety of boxes labeled ‘IN’ and ‘OUT’. We want to configure a universe for output, so choose the correct ‘OUT’ box for the port you wish to use and enter a number into it to specify the universe. A universe value of 1 a typical starting value.


  • Once you’ve done this, click ’Save Changes’ at the bottom of the list.


  • Click on ‘Universes’ on the left-hand menu. You should now see a list of the universes specified for output, which should include the one you just specified.


  • Click on the 'Console' link, and use the sliders to test that OLA is controlling your DMX devices


Install and Use OlaOutput in Max/MSP/Jitter

  • To install OlaOutput as a Max/MSP external, download the latest version and place the files in a folder somewhere on your system. Make a note of this path for the next step.


  • Load Max/MSP. Choose Options>File Preferences…. Then use the plus button on the lower left to add the path to the folder containing the externals you wish to install. This will tell Max to look in this folder for externals to use. Make sure you keep the files in this place, or Max will be unable to locate them.


  • Create a new Max patcher, and add an olaoutput object. If Max is unable to find olaoutput, it will log a message to its output window.


  • The OlaOutput object has 2 inlets. The left inlet is used to send a series of DMX messages using the list structure. The (optional) right inlet is used to set the universe that is the destination for messages. For further details about how to use OlaOutput in Max, consult the olaoutput.maxhelp file included in the download (you can access this quickly from Max by alt-clicking on the object).


  • Create a message object in Max with the values 128 200 250 (separated by spaces). Connect the outlet of this message object to the left inlet of the OlaOutput object.


  • Lock the patcher, and click on the message object. The above values (128, 200, 250) should be sent out to channels 1, 2, 3 respectively.

Wrapping Up

  • Once you’re done, you can shut down olad using the 'stop olad' link on the ‘Home’ page of OLA's web interface. OLA will remember your universe patchings next time you start it up.


For additional help and information about OLA, visit the OLA Wiki page.