Huron & SNAP Documentation
Huron & SNAP Documentation
Huron & SNAP Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Space Array Commands<br />
Parameter Description<br />
OTHER SIMULATION TOOLS<br />
Space Array accepts Location and Angle commands in the same<br />
way as AniScape and MultiScape. It also recognises the<br />
AniScape room switching commands.<br />
<strong>SNAP</strong>Location<br />
This command sets the X, Y, and Z coordinates of an object.<br />
The distances are measured in meters.<br />
in long lChannel Location channel that will receive the coordinates (1-255)<br />
in float fX X coordinate of the object in meters<br />
in float fY Y coordinate of the object in meters<br />
in float fZ Z coordinate of the object in meters<br />
<strong>SNAP</strong>Angle<br />
This command sets the orientation of an object. The angles<br />
passed are in degrees.<br />
in long lChannel Angle channel that will receive the data (1-255)<br />
in float fAz Azimuth of the object in degrees<br />
in float fEl Elevation of the object in degrees<br />
in float fRl Roll of the object in degrees<br />
c:\<strong>Huron</strong>32\SpaceArray\rooms\room.geo<br />
c:\<strong>Huron</strong>32\SpaceArray\rooms\roomx.sim<br />
c:\<strong>Huron</strong>32\SpaceArray\rooms\roomy.sim<br />
c:\<strong>Huron</strong>32\SpaceArray\rooms\roomz.sim<br />
<strong>SNAP</strong>LoadRoom<br />
The Space Array can be loaded with up to two different room<br />
acoustic definitions. Each room is stored in a separate buffer.<br />
The data for the room acoustic definitions are stored in a<br />
number of binary data files on <strong>Huron</strong>, the set of data files for a<br />
room’s acoustics all have the same file name root but different<br />
extensions. The path passed in this command should be the full<br />
path of the data files without the file extension.<br />
For example, if the set of data files for a room resides in the<br />
following directory:<br />
The string passed would be<br />
c:\<strong>Huron</strong>32\SpaceArray\rooms\room in the path field<br />
of this command.<br />
<strong>SNAP</strong>LoadRoom will load the room into the current buffer,<br />
which defaults to buffer 0 when Space Array is loaded. To load<br />
a room into the second buffer, first issue the <strong>SNAP</strong>SetRoom<br />
command with the parameter 1 to switch to the second buffer<br />
and then load the desired room.<br />
HURON TECHNICAL MANUAL PAGE 167