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.

Locator Commands<br />

General Commands<br />

Source and Listener Object Control<br />

OTHER SIMULATION TOOLS<br />

This subsection lists the commands recognised by Locator when<br />

parsing Locator scripts.<br />

Time T<br />

All following commands up to the next Time command will be<br />

executed T (Integer +ve) tenths of a second after the Play button<br />

is clicked.<br />

SetWorkspace workspace<br />

Set VRack workspace to “workspace” (String as a path to a file<br />

and filename with a *.WSP extension).<br />

Exec command<br />

Execute command (String) in Windows shell. If the exec<br />

command is launching the VRack, the exec command requires<br />

that the full path to the *.WSP file is given eg.<br />

c:\huron30\rack32.exe c:\huron30\bin\huron.wsp<br />

Repeat<br />

Set time index to 0 - Restarts the script.<br />

#<br />

Comment line. All chars to the end of the line are ignored.<br />

Loc N X Y Z<br />

Move the object specified by location channel N (Integer +ve)<br />

from its current position, to the location X,Y,Z (Float)<br />

coordinates (in metres from origin). Location channel numbers<br />

must be in the range 1 to 255.<br />

Ang N A E R<br />

Send Angle message with Azimuth A (0-360 degrees),<br />

Elevation E (0-360 degrees) and Roll R (0-360 degrees) degrees<br />

on Angle channel N (Integer +ve).<br />

Jump N X Y Z vX vY vZ<br />

Set object at location channel N (Integer +ve) to new location<br />

X,Y,Z ( in meters from origin) and set velocity in the X plane to<br />

vX, the velocity in the Y plane to vY and the velocity in the Z<br />

plane to vZ.<br />

SetDirFactor nSource DirFactor<br />

(Sound Field Filter)<br />

This command sets the Directivity Factor, DirFactor (Float) of a<br />

sound nSource object (Integer, as an index to the objects in the<br />

sound object list) in Sound Field Filter.<br />

HURON TECHNICAL MANUAL PAGE 178

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

Saved successfully!

Ooh no, something went wrong!