VDJPedia



 Skin SDK Visual

Back to Skin SDK

Skin SDK: The <visual> element



A visual is a zone that changes its display to reflect various things.

The syntax of the visual element is <visual source="" type="" deck="" panel="" orientation="" direction="">.
The properties values are:
  • source : possible values:
    • "beat" : The beat intensity
    • "rotation" : The angle of the disc (depends on the position and the RPM speed)
    • "arm" : The position of the turntable's arm (moves on PLAY and PAUSE)
    • "volume" : The volume (depends on the crossfader and the level values)
    • "position" : The position in the song
    • Any of the "get ..." VDJ Script commands that return a numeric value

  • type : possible values:
    • "onoff" : Display the up graphic if source>=2048, or the down graphic if source<2048
    • "transparent" : Fade smoothly between up and down graphics
    • "linear" : Display a portion from the down graphic then a portion from the up graphic
    • "custom" : Display a specific graphic depending on the source value
    • "color" : Display a specific color depending on the source value
  • deck : possible values: "1", "2", "default", "active" or "both" (default)
  • panel can put the visual into a specific panel
  • orientation : (defined for type="linear" only) possible values: "horizontal" or "vertical"
  • direction : (defined for type="linear" only) possible values: "left", "right", "up" or "down"
The visual definitions are:
  • <size width="" height=""> : Give the width and height of the visual
  • <pos x="" y=""> : Give the position of the visual on the screen
  • <clipmask x="" y=""> (optional) : Give the coordinate of the B&W graphic that should be used as a clip mask when drawing the visual
  • <off x="" y=""> : (all types except "custom") Give the coordinate of the graphic to use when the visual is low
  • <on x="" y=""> : (all types except "custom") Give the coordinate of the graphic to use when the visual is high
  • <up x="" y="" nb="" nbx=""> : (type="custom" only) Give the coordinate of the graphics to use with the custom type (works like for a "round" slider)





Back to Skin SDK