05.05.2013 Views

Huron & SNAP Documentation

Huron & SNAP Documentation

Huron & SNAP Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VMixer Commands<br />

Parameter Description<br />

OTHER SIMULATION TOOLS<br />

<strong>SNAP</strong>VMxLoad<br />

Instructs VMixer to load a .vmx configuration file from disk.<br />

in const char szPath[128] Path of the .vmx file to load<br />

<strong>SNAP</strong>VMxSave<br />

Instructs VMixer to save its current settings to a .vmx<br />

configuration file.<br />

in const char szPath[128] Path of a .vmx file to save the current configuration to<br />

<strong>SNAP</strong>VMxSetSize<br />

Sets the number of inputs and outputs of the VMixer.<br />

in long lInputs New number of inputs<br />

in long lOutputs New number of outputs<br />

<strong>SNAP</strong>VMxGetSize<br />

When a VMixer receives this command, it fills the fields with<br />

the current number of inputs and outputs.<br />

out long* plInputs Current number of inputs<br />

out long* plOutputs Current number of outputs<br />

<strong>SNAP</strong>VMxSetNodeGain<br />

Sets the gain of a matrix node to the given gain value.<br />

in long lInputChannel Input channel of the node<br />

in long lOutputChannel Output channel of the node<br />

in float fGain The new gain value between 0.0 and 4.0<br />

<strong>SNAP</strong>VMxSetInputGain<br />

Sets the preamplification gain of a mixer input. This gain is<br />

applied before the matrix gain and the output gain.<br />

in long lInputChannel The number of the input channel (0-based)<br />

in float fGain The new gain value between 0.0 and 4.0<br />

<strong>SNAP</strong>VMxSetOutputGain<br />

Sets the postamplification gain of a mixer output. This gain is<br />

applied after the input gain and the matrix gain.<br />

in long lOutputChannel The number of the output channel (0-based)<br />

in float fGain The new gain value between 0.0 and 4.0<br />

<strong>SNAP</strong>VMxGetNodeGain<br />

When the VMixer receives this command, it fills the gain field<br />

with the current gain of the requested node.<br />

in long lInputChannel The input channel identifying the node<br />

in long lOutputChannel The output channel identifying the node<br />

out float* pfGain The current gain at this node<br />

HURON TECHNICAL MANUAL PAGE 169

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!