マイク位置や音源定位結果など、位置を表現する種類の情報の保存に使用するフォーマット。 図 5.1 に示すサンプルのように、ルート要素が hark_xml、 その子要素に config, positions, neighbors, channels がある。 以下では、各要素について詳細に説明していく。
<hark_xml version="1.3">
<config>
<comment>Test file</comment>
<SynchronousAverage>16</SynchronousAverage>
<TSPpath>/home/tsp.wav</TSPpath>
<TSPOffset>2</TSPOffset>
<PeakSearch from="0" to="100"/>
<nfft>1024</nfft>
<samplingRate>0</samplingRate>
<signalMax>0</signalMax>
<TSPLength>0</TSPLength>
</config>
<positions type="tsp" coordinate="cartesian">
<position x="0.100" y="0.100" z="0.100" id="0" path="/home/tsp1.wav"/>
<position x="0.150" y="0.100" z="0.100" id="1" path="/home/tsp2.wav"/>
<position x="0.200" y="0.200" z="0.200" id="2" path="/home/tsp3.wav"/>
</positions>
<neighbors algorithm="NearestNeighbor">
<neighbor id="0" ids="0;1;2;"/>
<neighbor id="1" ids="1;0;2;"/>
<neighbor id="2" ids="2;1;0;"/>
</neighbors>
</hark_xml>