Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is MicArrayParams API documents #71

Open
ada2018 opened this issue Apr 7, 2017 · 1 comment
Open

Where is MicArrayParams API documents #71

ada2018 opened this issue Apr 7, 2017 · 1 comment

Comments

@ada2018
Copy link

ada2018 commented Apr 7, 2017

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

@Flowr-es
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants