Difference between revisions of "ManyEarsPackages"

From IntRoLab
(WIN32 Packages)
(Microphone Array Configuration)
Line 32: Line 32:
 
== Microphone Array Configuration ==
 
== Microphone Array Configuration ==
 
<pre>
 
<pre>
 +
<Matrix
  
 +
<rows 8>
 +
<cols 3>
 +
<data
 +
 +
-18 16 -15.5
 +
-18 16 15.5
 +
18 16 -15.5
 +
18 16 15.5
 +
-18 -16 -15.5
 +
-18 -16 15.5
 +
18 -16 -15.5
 +
18 -16 15.5
 +
>
 +
>
  
 
</pre>
 
</pre>

Revision as of 16:09, 5 June 2009

Packages

WIN32 Packages

  1. Install the FlowDesigner Package
    1. Download and install File:FlowDesigner-0.10.0-win32.rar
    2. FlowDesigner must be added to the PATH with the installer (when asked)
  2. Install the ManyEars Package
    1. Download and install File:ManyEars-0.2.rar


Notes :

June 5 2009. Packages uploaded.

OSX Packages

Configuration

The following examples will output localization with OSC with the following configuration :

  • host = 127.0.0.1
  • port= 5678

Those settings can be changed by editing the .n files with FlowDesigner.


Microphone Array Configuration

<Matrix

<rows 8>
<cols 3>
<data

-18 16 -15.5
-18 16 15.5
18 16 -15.5
18 16 15.5
-18 -16 -15.5
-18 -16 15.5
18 -16 -15.5
18 -16 15.5
>
>

Planar Array Configuration for 3D (with distance approximation)

Standard Array Configuration (without distance approximation)

OSC Format


//HEADER CONTAINS 24 BYTES
char header[12] = {'/','m','a','n','y','e','a','r','s', '\0', '\0','\0'};
char tags[12] = {',','i','f','f','f','f','f','f','f','\0','\0','\0'};

//DATA CONTAINS 32 BYTES
BinIO::write<int>(outputString,&id,1);
BinIO::write<float>(outputString,&x,1);
BinIO::write<float>(outputString,&y,1);
BinIO::write<float>(outputString,&z,1);
BinIO::write<float>(outputString,&strength,1);
BinIO::write<float>(outputString,&theta,1);
BinIO::write<float>(outputString,&phi,1);
BinIO::write<float>(outputString,&distance,1);


//TOTAL = 56 BYTES