5.2.1 Microphone position text format

The microphone position text format is a file that describes each microphone position of the microphone array used in GHDSS and harktool. When selecting CALC in the TF_CONJ property of GHDSS node, the MIC_FILENAME property appears. Give the coordinates of each microphone in the microphone array (saved in the microphone position format) into this column to generate an impulse response and perform sound source separation in simulation. The format is as follows.

The description of the tag
Table 5.7: microphone position Tag

tag name

Description

hark_config

file type

 

id : "MicArrayLocation" fix

 

major: Major number (2)

 

minor: Minor number (0)

Comment

Comment

Mic size

number of Microphone

MicIndex

Mic number

 

[Measurement coordinate] Measurement coordinate represents

 

directional vectors from the center (an origin) of a microphone

 

array to a measurement point (x, y, z). Users are to describe so

 

that the magnitude of the vector $\sqrt {x^2 y^2 z^2}$ becomes 1.0.

 

unit: meter

 

type: cartesian

X

sound source position: X axis (Refer to Position tag)

Y

sound source position: Y axis (Refer to Position tag)

Z

sound source position: Z axis (Refer to Position tag)


Example: microphone position file

example xml file: microphone array of 4 channels

<hark_xml>
  <hark_config id="MicArrayLocation" major="2" minor="0">
    <Comment>created by harktool4</Comment>
    <Mics size="4">
      <Mic>
        <MicIndex>0</MicIndex>
        <Position unit="meter" type="cartesian">
          <X>-0.957823</X>
          <Y>8.37355e-08</Y>
          <Z>0.287361</Z>
        </Position>
      </Mic>
      <Mic>
        <MicIndex>1</MicIndex>
        <Position unit="meter" type="cartesian">
          <X>1.14219e-08</X>
          <Y>-0.957823</Y>
          <Z>0.287361</Z>
        </Position>
      </Mic>
      <Mic>
        <MicIndex>2</MicIndex>
        <Position unit="meter" type="cartesian">
          <X>0.957823</X>
          <Y>0</Y>
          <Z>0.287361</Z>
        </Position>
      </Mic>
      <Mic>
        <MicIndex>3</MicIndex>
        <Position unit="meter" type="cartesian">
          <X>-4.18678e-08</X>
          <Y>0.957823</Y>
          <Z>0.287361</Z>
        </Position>
      </Mic>
    </Mics>
  </hark_config>
</hark_xml>