A list of available osc commands for VPT 7


each command is described with the command name and what type of message goes with it:

i =integer (-1,0,1,2,3 etc)

f=float (0.1,0.45,2.22 etc)

s=string (prism,black,chess etc)

t=command is a trigger so no additional messages needed


examples of syntax

to set the fade level of layer 3 to .5 (half transparent) the osc message would be:

/3layer/fade .5


to set the rate of 1source to 2. (double normal speed) the osc message would be:

/sources/1video/rate 2.


to enter fullscreen the osc message would be:

/fullscreen 1


to play a random clip in 1source the osc message would be:

/sources/1video/random


to send a value of .3 for controller 1 to the router the osc message would be:

/router/1 .3



sources

/sources

/1video,/2video,/3video,/4video,/5video,/6video,/7video,/8video

quicktime module

/clip s name of video

/clipnr i (relative position in sourcemenu, 0:off, 1:first video, 2:second video etc)

/rate f (1. normal speed, -1 normal speed backwards)

/loop i (0:loop off, 1:loop,2:palindrome(loop backnforth),3:loop once)

/xfade f (0.,1.)

/resolution i (0:full,1:2/3,2:1/2,3:1/3,4:1/4,5:1/8,6:1/16)

/trig t

/on i (0,1)

/vol f (0.,1.)

/pan f (0.,1.)

/loopreport i (0,1)

/last t play last clip in the menu (often used together with recording live source directly to a source folder)

/random t

/scrub f (0.,1.)

/start t

/stop t

/in f (0.,1.) relative in-point

/out f (0.,1.) relative out-point

/loopreset t

/playlist i i i … (list of clipnumber to be used in playlist)

/play i (0,1) activate playlist

/cliptime i (0,1) report cliptime

/alpha i (0,1) use video with alpha channel (default:0)

/com


still module

/clip s

/clipnr i

/xfade f

/resolution i

/refresh i (0:33ms,1:100ms,2:500ms,3:2000ms) how often still image is refreshed

/on i

/playlist i i i i…

/play i

/slide_length f (time in seconds)


mix module

/A i (0:off,1:1video,2:2video etc according to sourcelist in menu)

/B i (0:off,1:1video,2:2video etc according to sourcelist in menu)

/mix f (0.,1.)

/mixtype i (blendmode 0:normal alphablend, the others according to blendmode list in menu)


hap module

/clip s

/clipnr i

/rate f

/loop i

/xfade f

/on i

/trig t

/vol f

/pan f

/loopreport t

/last t

/random t

/scrub f

/start t

/stop t

/in f

/out f

/loopreset t

/playlist i i i i…

/play i


/1cam,/2cam

/on i (0,1)

/rec i (0:off,1:on)

/recdest (0:none, 1-8:1video-8video)


/1solid,/2solid

/on i (0,1)

/resolution i (0:4 3,1:80 60,2:320 240,3:640 480,4:1024 768) pixelsize

/refresh i (0:33ms,1:100ms,2:500ms,3:2000ms) how often solid source is refreshed

/1syphon,/2syphon,/3syphon,/4syphon

/on i (0,1)

/update t (check for new syphon servers)

/server s servername

/serverlist i (from server list)


layer 

/1layer,/2layer etc /0layer: active layer


/fade f (0.,1.)

/rgb f f f (0.,1.)

/color f f f f (rgba 0.,1.)

/dcolor i i i (rgb 0,255)

/red f (0.,1.)

/green f (0.,1.)

/blue f (0.,1.)

/blendmode i (0:normal, 1:additive, 2:multiply)

/layername s

/layerorder i

/scalex f

/scaley f

/posx f

/posy f

/cornerpin

/upper_left f f (x y 0.,1.)

/lower_left f f (x y 0.,1.)

/upper_right f f (x y 0.,1.)

/lower_right  f f (x y 0.,1.)

/com direct messages to jit.gl.cornerpin

/source s (1video,2video etc)

/flip

/on i (0,1)

/fliptype i (0: normal,1:hor flip,2:ver flip,3:hor+ver flip)

/tile

/on  i (0,1)

/xtile i (0,14 0:normal, 1: 1/2, 2: 2/2, 3: 1/3,……14: 5/5)

/ytile i (0,14 0:normal, 1: 1/2, 2: 2/2, 3: 1/3,……14: 5/5)

/zoom

/on i (0,1)

/xzoom f

/yzoom f

/xanchor f

/yanchor f

/rota f

/blur

/on i (0,1)

/blur f

/mblur

/on i (0,1)

/mblur f

/brcosa

/on i (0,1) 

/brightness f

/contrast f

/saturation f

/mask

/on i (0,1)

/source s (maskname)

/inv  i (0,1)

/blur_on  i (0,1)

/blur f

/switch  i (0,1)

/moving  i (0,1) use moving mask (requires a quicktime video in mask folder)

/points list (f,f,f,f…f,f) list ifof x y points of mask

/edgeblend

/on  i (0,1)

/left f (0.,1.)

/down f (0.,1.)

/right f (0.,1.)

/up f (0.,1.)

/inv  i (0,1)

/mesh

/on i (0,1)

/gridsize i

/position (f,f,f,f…f,f) list ifof x y points of mesh

/trig


presets

/preset i go to specified preset

/presetprev t

/presetnext t

/store0 store current state of VPT to temporary preset 0


cues

/cue i go to specified cue

/cuenext t

/cueprev t

/cueplay i (0:edit,1:play)


sourcepresets

/sourcepreset i go to specified source preset

/sourcenext t

/sourceprev t


router

/router

/1(/2,/3 etc) f let´s you send controller data to the router

/router-preset i switch between the stored router presets


lfo

/1lfo /2lfo /3lfo /4lfo /5lfo /6lfo /7lfo /8lfo /9lfo /10lfo

/speed f 1. is normal speed

/phase f

/val f

/range f

/lfomix f (0.,1.)

/on i (0,1)

/wave (0:sine,1:ramp,2:triangle,3:square)

/waveinv i (0,1)


serial communication

/serial

/s1(/s2,/s3,/s4,/s5,/s6,/s7,/s8,/s9) f/i/s sends formatted messages out the serial port /s1 .5 appears as 1 .5


osc out (default destination 127.0.0.1 port 6667)

these messages are sent out from VPT using OSC, if osc out is enabled in the osc-editor tab. 

loopreport and cliptime report needs to be turned on for the corresponding sources 

(which you can do in the clip control tab or using /sources/1video/loopreport 1 /sources/1video/cliptime 1).


/preset i

/cue i

/cuetrig t

/transitiondone t

/loopreport i t sourcenr bang

/cliptime i f sourcenr relative cliptime (0. to 1.)


div

/onoff i (0,1) turn VPT engine on/off


/fullscreen i (0,1)


/focus i (make layer i the active layer)

/copy t copy from current active layer

/paste t paste to current active layer


/cornerselect i (1 UL,2 UR, 3 LL, 4 LR)

/corner_xy f f (xy position of active corner 0. to 1.)


/drawcorners i (0,1)


/mastercorner

/enable i (0,1)

/draw i (0,1)

/reset t


/blind i (0,1) freezes video on the output window, let you continue to work on preview window

/blackout i (0,1) makes output window black while you can continue to work on preview window


/masterfade f (0.,1.) a masterfader for all layers


/framerate i framerate for output (default set to 30 fps in prefs)

/pframerate i framereate for preview window (default set to 15 fps in prefs)