The source localization transfer function indicates a transfer function from a sound source to a microphone array and is expressed as a file of HGTF format with M2PG chunk. The source localization transfer function file is designated in the A_MATRIX property of LocalizeMUSIC . For details of usage, see LocalizeMUSIC . Table 5.5 shows definitions of M2PG. Further, the rows in memory of a multi-dimensional array are row major (same as in the C language).
Type |
Value |
char[4] |
"M2PG" |
int |
Size of chunk, |
12+12*$Nd$*$Nr$+8*$Nd$*$Nr$*$nmic$*($Nfft$/2+1) [bytes] |
|
short[2] |
M2PG version (major, minor) |
int |
Number of elements in horizontal direction (Nd) |
int |
Number of elements of distance (Nr) |
Vector3[Nd][Nr] |
Coordinate of source position |
complex<float> [Nd][Nr][nmic][Nfft/2+1] |
Transfer function |
This file is created from a file in the impulse response format using harktool , which is a support tool. Details of the creation method are described in Section 7.1.