5.3.1 Source position list information (srcinf) format

This is a file used in harktool to create a source position transfer function file (Set in A_MATRIX of LocalizeMUSIC ) and a sound source separation transfer function file (set in TF_CONJ_FILE of GHDSS ). It is a text file that enumerates measurement directions and the impulse response files corresponding to them in the form of “measurement coordinate %% file name, start offset, @end offset" (a space is needed before "%%") for the number of impulse response measurement points on the basis of one record per line. Note that @end offset is optional.

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 $\undefined {x^2 + y^2 + z^2}$ becomes 1.0. Further, each value must be separated by commas.

File name

Users describe file names of the measured impulse responses or TSP responses. In the case of the measured impulse responses, file names are to be named as example_D180_00_ch1.flt, example_D180_00_ch2.flt, ..., example_Dddd_00_chcc.flt (the “example” parts are arbitrary parts to be determined by users. ddd and cc indicate direction and channel number, respectively.) In Srcinfo.txt, these are collectively designated as example-*.flt. Note that the channel number begins with 1. The “flt" is a file for raw data of 32bit real float in little endian. When TSP responses are to be specified, each file should be PCM wave format based on RIFF instead of using “flt.”

Start offset

Users designate from which line in an impulse response file the data reading starts. For example, if the user designates 1, reading starts from the first sample. Data reading usually is performed without problems with 1. Offset values must be positive integer.

End offset

Data is read until the sample number specified by End Offset. For example, when Start offset and End offset are set to 100 and 200, respectivly, 100th to 200th samples are read in the file named File name. The value should be a positive integer, and “@” should be added at the begining of this value.

A concrete example is shown below. This example is in HARK standard coordinate system and a four-channel microphone array is employed.

Case 1 Impulse responses

-0.9578, -0.0000, 0.2874 -0.9542, -0.0835, 0.2874 -0.9433, -0.1663, 0.2874 -0.9252, -0.2479, 0.2874

However, this setting file example assumes that the following impulse response file groups are in the current directory.

flt_D000_00_ch1.flt flt_D000_00_ch2.flt flt_D000_00_ch3.flt flt_D000_00_ch4.flt

flt_D090_00_ch1.flt flt_D090_00_ch2.flt flt_D090_00_ch3.flt flt_D090_00_ch4.flt

flt_D180_00_ch1.flt flt_D180_00_ch2.flt flt_D180_00_ch3.flt flt_D180_00_ch4.flt

flt_D270_00_ch1.flt flt_D270_00_ch2.flt flt_D270_00_ch3.flt flt_D270_00_ch4.flt

Case 2 TSP responses

-0.9578, -0.0000, 0.2874 -0.9542, -0.0835, 0.2874 -0.9433, -0.1663, 0.2874 -0.9252, -0.2479, 0.2874

However, this setting file example assumes that the following impulse response file groups are in the current directory.

tsp_D000.wav tsp_D090.wav tsp_D180.wav tsp_D270.wav