vixid.library
Class Vixid

java.lang.Object
  extended by vixid.library.Vixid

public class Vixid
extends java.lang.Object

The Vixid class provides a simple way to communicate with the Vixid video controller within Processing sketches. It uses the theMidiBus library for handling Midi communications (so you need to have that library in your sketchbook folder to make it work). This library is mostly a set of functions that mimic what you can find on the Vixid controller.


Field Summary
 Track[] track
           
static java.lang.String VERSION
           
 
Constructor Summary
Vixid(processing.core.PApplet theParent, int midiInputIndex, int midiOutputIndex, boolean[] videoIn)
          Create an instance of the Vixid object.
 
Method Summary
static void midiList()
          Returns the list of available midi devices.
 void setMixMode(int mode)
          Set the Vixid to be in Compositing or Battle mode.
 void setOutputConfig(int outputId, int config)
          Set the configuration for the selected output
 void setPreview(int previewId, int point)
          Set the preview point for the selected preview
 void setPreview(int previewId, int trackId, int point)
          Set the preview point for the selected preview
static java.lang.String version()
          return the version of the library.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

track

public Track[] track

VERSION

public static final java.lang.String VERSION
See Also:
Constant Field Values
Constructor Detail

Vixid

public Vixid(processing.core.PApplet theParent,
             int midiInputIndex,
             int midiOutputIndex,
             boolean[] videoIn)
Create an instance of the Vixid object. Tell him where to get it's midi command from/to. All outputs are set to Master.

Parameters:
theParent -
midiInputIndex - The midi index of the midi input. See midiList() for reference
midiOutputIndex - The midi index of the midi output. See midiList() for reference
Method Detail

setMixMode

public void setMixMode(int mode)
Set the Vixid to be in Compositing or Battle mode.

Parameters:
mode - 0 : Compositing mode, 1 : Battle 2*2 mode

setOutputConfig

public void setOutputConfig(int outputId,
                            int config)
Set the configuration for the selected output

Parameters:
outputId - 0 : output1, 1 : output2, 2 : output3
config - 0 : master, 1 : master2, 2 : preview, 3 : auto preview

setPreview

public void setPreview(int previewId,
                       int point)
Set the preview point for the selected preview

Parameters:
previewId - 0 : preview1, 1 : preview2, 2 : preview3
point - 0 : Track1 PreFx, 1 : Track1 PostFx, 2 : Track1 Keyer, 3 : Track1 Out Blend, 4 : Track2 PreFx, 5 : Track2 PostFx, 6 : Track2 Keyer, 7 : Track2 Out Blend, 8 : Track3 PreFx, 9 : Track3 PostFx, 10 : Track3 Keyer, 11 : Track3 Out Blend, 12 : Track4 PreFx, 13 : Track4 PostFx, 14 : Track4 Keyer, 15 : Track4 Out Blend 

setPreview

public void setPreview(int previewId,
                       int trackId,
                       int point)
Set the preview point for the selected preview

Parameters:
previewId - 0 : preview1, 1 : preview2, 2 : preview3
trackId - 0 : Track1, 1 : Track2, 2 : Track3, 3 : Track4
point - 0 : PreFx, 1 : PostFx, 2 : Keyer, 3 : Out Blend

midiList

public static void midiList()
Returns the list of available midi devices. It's just a call to theMidibus library function that does this.


version

public static java.lang.String version()
return the version of the library.

Returns:
String


processing library Vixid by Julien Deswaef (aka. Juego). (c) 2010