matrix-creator-malos icon indicating copy to clipboard operation
matrix-creator-malos copied to clipboard

Where is MicArrayParams API documents

Open ada2018 opened this issue 8 years ago • 1 comments

Try to play with microphone array through javascript, is there any document can explain how to configure those eight microphones? Any configurations besides the below set methods, many thanks

/*******/ // setup gain for all microphones micarray_cfg.set_gain(16)

// setup a sound source perpendicular to the MATRIX Creator micarray_cfg.set_azimutal_angle(0) micarray_cfg.set_polar_angle(0) micarray_cfg.set_radial_distance_mm(1000) micarray_cfg.set_sound_speed_mmseg(340.3 * 1000) /******/

ada2018 avatar Apr 07 '17 00:04 ada2018

Hi, currently they support following:

// Microphone Array params
message MicArrayParams {
  // gain for all microphones
  int32 gain = 1;

  // Spherical coordinates for beamforming (azimutal_angle,
  // polar_angle, radial_distance_mm).
  //
  // azimutal angle (must lie between -pi/2 an pi/2)
  float azimutal_angle  = 2;
  
  // polar angle (must lie between -pi/2 an pi/2)
  float polar_angle = 3;

  // distance from the center of the MATRIX Creator to the sound source.
  float radial_distance_mm = 4;

  // sound speed in mm/seg  
  float sound_speed_mmseg = 5;
}

So, no more config as the one that you have.

Flowr-es avatar Jun 15 '17 19:06 Flowr-es