Difference between revisions of "ManyEarsPackages"

From IntRoLab
(Microphone Array Configuration)
(OSX Packages)
Line 19: Line 19:
  
 
== OSX Packages ==
 
== OSX Packages ==
* Download and mount this image :
+
# Install Qt
** [[File:FlowDesigner-0.10.0-RW.dmg]]
+
## [http://get.qtsoftware.com/qt/source/qt-mac-opensource-4.5.1.dmg]
** Run FlowDesigner from the mounted image
+
# Download and mount this image :
 +
## [[File:FlowDesigner-0.10.0-RW.dmg]]
 +
## Run FlowDesigner from the mounted image
 
If you want to run the audioviewer (after the image is mounted) :
 
If you want to run the audioviewer (after the image is mounted) :
 
# Start the terminal
 
# Start the terminal

Revision as of 18:58, 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
  3. Run FlowDesigner from the start menu
  4. (Optional) run audioviewer from C:\Program Files\FlowDesigner\bin
Notes :

June 5 2009. Packages uploaded.

OSX Packages

  1. Install Qt
    1. [1]
  2. Download and mount this image :
    1. File:FlowDesigner-0.10.0-RW.dmg
    2. Run FlowDesigner from the mounted image

If you want to run the audioviewer (after the image is mounted) :

  1. Start the terminal
  2. Enter the following commands :
    1. export PATH=/Volumes/FlowDesigner-0.10.0/FlowDesigner.app/Contents/Resources/bin:$PATH
    2. export DYLD_LIBRARY_PATH=/Volumes/FlowDesigner-0.10.0/FlowDesigner.app/Contents/Resources/lib/
    3. export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Volumes/FlowDesigner-0.10.0/FlowDesigner.app/Contents/Resources/lib/flowdesigner/toolbox/ManyEars/lib/
  3. (Optional) Start audioviewer
    1. audioviewer
Notes :

June 5 2009. Packages uploaded.

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


Here is an example of cube configuration. Each microphone configuration must be ordered the same way they are connected to the sound card. Values are in cm.

<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)

  • Run This file for 3D localization
    • File:Tracking3D.n
    • Notice that the z value for all microphones in this example is 0 meaning that all microphones are in the same plane.

Standard Array Configuration (without distance approximation)

OSC Format (Updated)

  • Data is transmitted with Network byte order (MSB first)

//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