Skip to content

Instantly share code, notes, and snippets.

@imorrish
Created June 16, 2016 08:27
Show Gist options
  • Select an option

  • Save imorrish/1fed25e6fa01058d11e22bbf3fc609d3 to your computer and use it in GitHub Desktop.

Select an option

Save imorrish/1fed25e6fa01058d11e22bbf3fc609d3 to your computer and use it in GitHub Desktop.
Control Resolume using PowerShell and OSC
Update path below to the location where you save the dll from
# https://github.com/ValdemarOrn/SharpOSC/tree/master/Binaries
add-type -path 'C:\Users\imorrish\OneDrive\PowerShell\OSC\SharpOSC.dll'
#Connection for Resolume
$sender = new-object SharpOSC.UDPSender "192.168.1.67", 7000
#start a layer clip
$message = new-object SharpOSC.OscMessage "/layer3/clip1/connect", 1;
$sender.Send($message);
#Enable or dissable a video effect on a clip. 1 = disable, 0 = enabled
$message = new-object SharpOSC.OscMessage "/activeclip/video/effect1/bypassed", 1;
$sender.Send($message);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment