Huron & SNAP Documentation
Huron & SNAP Documentation Huron & SNAP Documentation
Initialisation SNAP Commands General VRack Commands Parameter Description OTHER SIMULATION TOOLS To begin communication, issue the SNAPConnect() command. This will open a socket to the Huron. Note that the Socket for Windows 2000 application must be running on the Huron or this command will fail. Use SNAPDisconnect() to close the socket. If your application exits without calling SNAPDisconnect() then Socket for Windows 2000 may crash. SNAPConnect Creates a TCP/IP connection with the Huron. The Socket application must be running on the Huron for a connection to be established. in const char* szIPAddress The IP address of the Huron SNAPDisconnect Disconnects the TCP/IP connection with the Huron. SNAPExec Huron runs a command on the Microsoft Windows operating system. To send a command to be executed by Windows call this function with the full path of the command in the path field. in char* szPath Full path of Windows command SNAPSetWorkspace This command allows the loading of a new workspace into the VRack of Huron. This command requires the path field to be set to the full path of the workspace file. VRack must also be running on the Server (Huron). in const char* szPath Full path of workspace file out long* plStatus out char* szPath SNAPGetStatus This command returns the current operating status of the Huron. SNAPGetWorkspace To find the currently loaded workspace in VRack send this command. The VRack application will send a HuronGetWorkspace command back to the remote computer with the path field set to the full path of the current workspace file. VRack must be running. HURON TECHNICAL MANUAL PAGE 160
Positional Commands Note: The number of positional commands sent per second should be limited by the controlling application. Sending too many messages per second can cause buffer overflow, resulting in delayed response and loss of command data. Parameter Description OTHER SIMULATION TOOLS These positional commands can be used with Binscape, Space Array, Multiscape, Aniscape, and Headscape. The sound objects and listener object in each simulation application receive their location and orientation information on Location and Angle channels. Every independently moveable source should have a unique Location and Angle channel assigned to it. Object location and angle settings will be updated on receipt of the command. SNAPLocation This command sets the X, Y, and Z coordinates of an object. The distances are measured in meters. in long lChannel Location channel that will receive the coordinates (1-255) in float fX X coordinate of the object in meters in float fY Y coordinate of the object in meters in float fZ Z coordinate of the object in meters SNAPAngle This command sets the orientation of an object. The angles passed are in degrees. in long lChannel Angle channel that will receive the data (1-255) in float fAz Azimuth of the object in degrees in float fEl Elevation of the object in degrees in float fRl Roll of the object in degrees HURON TECHNICAL MANUAL PAGE 161
- Page 110 and 111: B-format Decode Mode B-format Mode
- Page 112 and 113: Editing Headphone Objects ↓ To ed
- Page 114 and 115: Adding Rooms, Deleting Rooms Adding
- Page 116 and 117: Summary THE SIMULATION TOOLS • Mu
- Page 118 and 119: Starting ↓ To access HeadScape Se
- Page 120 and 121: Configuring HeadScape ↓ To config
- Page 122 and 123: Summary THE SIMULATION TOOLS • He
- Page 124 and 125: Scene (List of Tracks) Track (List
- Page 126 and 127: Figure 45 - Scene Properties dialog
- Page 128 and 129: Manipulating Tracks ↓ To add a tr
- Page 130 and 131: ↓ Exporting a trajectory to a Loc
- Page 133: Other Simulation Tools This sub-sec
- Page 136 and 137: Operation Starting ↓ To start the
- Page 138 and 139: Locator Commands Loading and Playin
- Page 141 and 142: Features Requirements The WavePlaye
- Page 143 and 144: Figure 49 — The WavePlayer-2 inte
- Page 145 and 146: ↓ Setting the RME Hammerfall as t
- Page 147 and 148: Note: The Waveplayer has now been s
- Page 149: Summary OTHER SIMULATION TOOLS •
- Page 152 and 153: Operation Starting ↓ To start the
- Page 154 and 155: ↓ To select a microphone setting
- Page 156 and 157: ↓ To specify the Echo settings
- Page 159: Integration under 32 bit Windows In
- Page 163 and 164: OTHER SIMULATION TOOLS SNAPGetRooms
- Page 165 and 166: MultiScape Commands Parameter Descr
- Page 167 and 168: Space Array Commands Parameter Desc
- Page 169 and 170: VMixer Commands Parameter Descripti
- Page 171 and 172: WavePlayer-2 Commands OTHER SIMULAT
- Page 173 and 174: OTHER SIMULATION TOOLS SNAPWP2Pause
- Page 175 and 176: OTHER SIMULATION TOOLS SNAPSetWaveH
- Page 177 and 178: Command Reference This section desc
- Page 179 and 180: WavePlayer Commands OTHER SIMULATIO
- Page 181: TCP/IP Commands OTHER SIMULATION TO
- Page 185 and 186: Introduction Features Overview of t
- Page 187 and 188: Operation Starting and Saving ↓ T
- Page 189 and 190: ↓ To add a FIR filter to the Filt
- Page 191 and 192: Currently selected patch point icon
- Page 193 and 194: Introduction 96kHz Convolver Hardwa
- Page 195: Patching the 96kHz Convolver Loadin
- Page 198 and 199: Starting Note: If using measure to
- Page 200 and 201: Selecting the Output File ↓ To se
- Page 202 and 203: Signal Generation via MatLab Script
- Page 205 and 206: Introduction 96kHz Measurement Tool
- Page 207: Loading the 96kHz Measurement Tool
Initialisation<br />
<strong>SNAP</strong> Commands<br />
General VRack Commands<br />
Parameter Description<br />
OTHER SIMULATION TOOLS<br />
To begin communication, issue the <strong>SNAP</strong>Connect() command.<br />
This will open a socket to the <strong>Huron</strong>. Note that the Socket for<br />
Windows 2000 application must be running on the <strong>Huron</strong> or<br />
this command will fail. Use <strong>SNAP</strong>Disconnect() to close the<br />
socket. If your application exits without calling<br />
<strong>SNAP</strong>Disconnect() then Socket for Windows 2000 may crash.<br />
<strong>SNAP</strong>Connect<br />
Creates a TCP/IP connection with the <strong>Huron</strong>. The Socket<br />
application must be running on the <strong>Huron</strong> for a connection to be<br />
established.<br />
in const char* szIPAddress The IP address of the <strong>Huron</strong><br />
<strong>SNAP</strong>Disconnect<br />
Disconnects the TCP/IP connection with the <strong>Huron</strong>.<br />
<strong>SNAP</strong>Exec<br />
<strong>Huron</strong> runs a command on the Microsoft Windows operating<br />
system. To send a command to be executed by Windows call<br />
this function with the full path of the command in the path field.<br />
in char* szPath Full path of Windows command<br />
<strong>SNAP</strong>SetWorkspace<br />
This command allows the loading of a new workspace into the<br />
VRack of <strong>Huron</strong>. This command requires the path field to be<br />
set to the full path of the workspace file. VRack must also be<br />
running on the Server (<strong>Huron</strong>).<br />
in const char* szPath Full path of workspace file<br />
out long* plStatus<br />
out char* szPath<br />
<strong>SNAP</strong>GetStatus<br />
This command returns the current operating status of the <strong>Huron</strong>.<br />
<strong>SNAP</strong>GetWorkspace<br />
To find the currently loaded workspace in VRack send this<br />
command. The VRack application will send a<br />
<strong>Huron</strong>GetWorkspace command back to the remote computer<br />
with the path field set to the full path of the current workspace<br />
file. VRack must be running.<br />
HURON TECHNICAL MANUAL PAGE 160