LUCI Knowledge Base

Example OSC controlling with Stream Deck

You can use your Stream Deck to remotely Control Luci Studio. The Stream Deck can be configured to switch Audio inputs, set Audio levels or monitor Audio VU with standard modules of its Stream Deck Control software. If you want to use OSC to have more control, you need to install Bitfocus Companion, which has a so called OSC connection.

Steps to setup Companion:
  • Install Bitfocus Companion on the PC that has your Stream Deck connected.
  • Launch it’s GUI for setting up the Stream Deck
  • At Tab “Connections” add the “OSC Generic” Connection
  • Setup the “OSC Generic” with the Target IP of the PC that runs the Luci Studio instances and enter the Port number that you have setup in the Luci Studio Manager’s OSC wizard as the OSC receiving port.
Example setting up a Register Button:
  • At Tab “Buttons” Choose a blank button
  • Press the “Regular button”
  • Input at Button text: “Register”
  • At the “Press Actions” input field press “Browse” and choose “osc” and “Send message without arguments”
  • Set as OSC Path: “/ls/0/Commands/Register”

Pressing the button once wil set the Connect/Register button of the Luci Studio with the number “O(0)”  ( seen in Luci Studio Manager Screen column Clients). Pressing it again will unset the Connect/Register button as this has a toggle functionality. You can make equal buttons for “Accept”, “Disconnect”, “Record ” or “Play”

Example setting up a Jitter buffer controller:
  • At Tab “Buttons” Choose a blank button
  • Press the “Regular button”
  • Input at Button text: “Jitter 400 ms”
  • Check the “Latch” option.
  • At the “Latch Actions” input field press “Browse” and choose “osc” and “Send Integer”
  • Set as OSC Path: “/ls/0/ConnectionInfo/Jitterbuffer” and as Value “400”
  • At the “UnLatch Actions” input field press “Browse” and choose “osc” and “Send Integer”
  • Set as OSC Path: “/ls/0/ConnectionInfo/Jitterbuffer” and as Value “100”

Pressing the button once wil set the Jitter buffer of the Luci Studio with the number “O(0)”  ( seen in Luci Studio Manager Screen column Clients ) to 400 ms. Pressing it again ( unlatch wil set it back to 100 ms )
You can test and see if the value changes with the Ember+ Viewer of Lawo:

Example setting up a Encode Jitter buffer controller on the Stream Deck+:
  • At Tab “Variables” press “Custom Variables” and create a Variable with name “jitterms”, value is 100 and check “persist value”.
  • At Tab “Buttons” Choose a blank button above an Encoder to show the variable value.
  • Press the “Regular button”
  • Input at Button text: “Jitter $(internal:custom_jitterms) ms”, it will show “Jitter 100 ms”
  • Choose the blank button in the Encoders row.
  • Input at Button text: “LS 0 Jitter”
  • Check the “Enable Rotary Actions” option:
  • At the “Add Rotate Left Actions” input field press “Browse” and choose “internal” and “Modify Variable Value with Math Operation”
  • For “Variable” choose the “A custom variable (internal:custom_jitterms)” from the list.
  • For “Operation” choose “Variable Minus Value”
  • For “Value” enter 50
  • For “Resulting Variable” choose the “A custom variable (jitterms)”
  • At the 2e “Add Rotate Left Actions” input field press “Browse” and choose “osc” and “Send Integer”
  • Set as OSC Path: “/ls/0/ConnectionInfo/Jitterbuffer” and Value: $(internal:custom_jitterms)
  • At the “Rotate Right Actions” input field press “Browse” and choose “internal” and “Modify Variable Value with Math Operation”
  • For “Variable” choose the “A custom variable (internal:custom_jitterms)” from the list.
  • For “Operation” choose “Variable Plus Value”
  • For “Value” enter 50
  • For “Resulting Variable” choose the “A custom variable (jitterms)”
  • At the 2e “Add Rotate Left Actions” input field press “Browse” and choose “osc” and “Send Integer”
  • Set as OSC Path: “/ls/0/ConnectionInfo/Jitterbuffer” and Value: $(internal:custom_jitterms)
  • At the “Add Press Actions” input field press “Browse” and choose “internal” and “Set custom variable value”
  • For “Custom variable” choose the “A custom variable (jitterms)” from the list, and set Value to “100”
  • At the 2e “Add Press Actions” input field press “Browse” and choose “osc” and “Send Integer”
  • Set as OSC Path: “/ls/0/ConnectionInfo/Jitterbuffer” and as Value $(internal:custom_jitterms)

Rotating the Encoder will change the jitter in steps of 50 up or down, Pressing the button wil set the Jitter buffer of the Luci Studio with the number “O(0)”  ( seen in Luci Studio Manager Screen column Clients ) to 100 ms. 
You can test and see if the value changes with the Ember+ Viewer of Lawo:

 

Please Note:

  • Values are not automatically sent back from Luci Studio to the Stream Deck as OSC only communicates in one direction.
  • For other Luci Studio instances you fill in the number instead of the zero. For instance, /ls/2/…. for O(2) as seen in the Luci Studio Manager window. You can even use a wildcard * to send the command to all Luci Studio instances.
  • Only Luci Studio Writable Parameters and commands can be sent.
About
Careers
Newsroom
History
Contact
Open Support Ticket
Terms & Conditions
Privacy Policy
Disclaimer


© Technica Del Arte 2024