/selectedLayer/pauseMedia to pause current media./selectedLayer/startMedia to start media named "Movie.mov"./selectedLayer/startMedia to start media at 7th column./selectedLayer/startMedia to restart current media./selectedLayer/media/myQuartzInput to update Quartz input named "myQuartzInput" to 0.5./selectedLayer/media/speed to change speed to 50%./selectedLayer/media/normalizedTime to move playhead in the middle of the movie./selectedLayer/media/time to move playhead at 1 hour, 2 minutes, 3 seconds, 400 milliseconds./selectedLayer/media/time to move playhead at 10 seconds./Movie.mov/time to move playhead at 10 seconds.Here are the properties that can be used with movies : to target current media of selected layer Media can be targeted directly by their name, or by identifying the layer first : /layer:myLayerName/selected to deselect layer named "myLayerName"./layer:myLayerName/selected to select layer named "myLayerName".To select a layer through a property-mecanism : /selectedLayer/scale/- to lower the scale of 1%./selectedLayer/position/x/+ to make a subtle move on X by 10px.To work relatively (add a number to a value), use the suffix /+ or /- : /light:1/intensity to update intensity at 100% of light called "1"./selectedLight/intensity to update intensity at 50%./selectedLayer/effect3/blue to change 'blue' parameter of third effect./selectedLayer/effect1/red to change 'red' parameter of first effect.To change an effect parameter (the effect is identified by its index) : /selectedLayer/mapping/topLeft/y to move corner on Y at 21px./selectedLayer/mapping/topLeft/x to move corner on X at 12px./selectedLayer/mapping/topLeft to move corner at./selectedLayer/rotation to rotate at 90°./selectedLayer/position/y to move on Y at 21px (short form is /selectedLayer/y)./selectedLayer/position/x to move on X at 12px (short form is /selectedLayer/x)./selectedLayer/position/xy to move at (short form is /selectedLayer/xy)./selectedLayer/opacity to update opacity at 75%.Here are some properties that can be used for layers : OSC messages are case insensitive ("selectedLayer" is the same as "selectedlayer") to target the selected light in the interface (in orange) to target the selected layer in the interface (in orange) to target the element at index 99 (see Preferences to display the indexes) to target the element named "myElementName" You have different alternative, depending on how you manage your elements : To send a 'ping', so Millumin returns multiple OSC messages, that describe the state for all the layers : /action/brush to move the brush with a pressure of 0.7./action/brush to move the brush in the middle with a maximum pressure (1).To move the brush-tool (normalized coordinates) : To play/pause the timeline that you are editing : To play/pause all media in the dashboard : /action/launchColumn to launch the column named "test"./action/launchColumn to launch the 11th column.You can launch or stop a specific column : Please note that such a command in the Terminal will not send OSC, but a "string" that Millumin will interpreat as OSC. If you want to quickly test OSC, simply open a Terminal and type the following command to change the opacity of the selected layer to 50% □Įcho -n "/selectedLayer/opacity 0.5" | nc -4u -w1 127.0.0.1 5000 Test/Opacity is the same as /test/opacity Lastly, Millumin's OSC API is case insensitive : □ However, feedback messages will always have the /millumin prefix. millumin/test/opacity is the same as /test/opacity To control Millumin, it is up to you to use /millumin prefix : □ Keep in mind that in most OSC softwares or libraries, address and arguments are defined separately. Įxample to set the opacity to 75%, of the layer named "test" : In brief, an OSC message has 2 parts : the /address and the. Here is a direct link to download the templates for TouchOSCĬreating an OSC message is simple, please refer to the Developer-Kit to get examples in many technologies. This protocol is supported by several application on computers or mobile devices.įor example, by TouchOSC (see this tutorial) or by Lemur (see this tutorial). It also sends messages (see feedback section). Millumin uses OSC messages to receive orders : for TouchOSC layouts, or to create an application that collaborates with Millumin. OSC is a communication protocol that works over the network. OSC documentation for Millumin V1 is available here. OSC documentation for Millumin V2 is available here. OSC documentation for Millumin V3 is available here. □ THIS DOCUMENTATION IS ONLY FOR MILLUMIN V4
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |