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

Sound Source Localization with 3 Respeaker 4 Mic array #262

Open
LePtitMetalleux opened this issue Apr 4, 2022 · 3 comments
Open

Sound Source Localization with 3 Respeaker 4 Mic array #262

LePtitMetalleux opened this issue Apr 4, 2022 · 3 comments

Comments

@LePtitMetalleux
Copy link

Hi, this is not an issue, I just need help.

I'm working on a project of sourd source localization.
I got 3 Respeaker 4 Mic Array and using ODAS I have to find the coordinates of the source sound.

I make a TCP server to receive the data from the SSL of ODAS, so I got XYZ coordinates (Between -1 and 1 ??) and E (elevation) which is, if I understood correctly the energy.

With this I manage to find how to calculate the azimut we can get with odas_web
In this file I found out how to get an azimut in degrees.

var az = Math.atan2(y,x) * 180 / Math.PI

I was wondering what was the following formula :

var inc = Math.acos(z/Math.sqrt(x*x+y*y+z*z)) which is then converted in degrees and substracted to 90

So my main problem here is to find how can I use all the data (xyz coords, energy, azimut and inc) from my 3 Respeaker 4 mic array to calculate the coordinates of the sound source.

To resume here are my questions :

  • What is "inc" ?
  • How can I calculate the coordinates of the sound source using the data of my 3 Respeaker 4 mic array

Thank you in advance for your help, it will be very valuable to me and sorry for all english mistakes.

  • LePtitMetalleux
@DmitryP11
Copy link

hi, I'm doing same thing as you

as I understand you need to have exact positions of your mics (same as position of mic in config file)
also maybe you will need to synchronize your mics (not yet sure),
and then you will need to matchmake detected sources of sound unless you work in a totally silent room

inc should be "inclination" angle between xy plane and angle to z

btw have you considered best geometry of microphone orientation?

@kehinde-elelu
Copy link

var az = Math.atan2(y,x) * 180 / Math.PI is use to calculate the azimut in degree

var inc = Math.acos(z/Math.sqrt(xx+yy+z*z)) is use to calculate the elevation

I hope this help your work

@rnehrboss
Copy link

I know this is old, but i wonder if anyone was successful in separation using the respeaker 4 mic. Any pointers would be helpful.
Thanks!

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

4 participants