Skip to content
New issue

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

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

Already on GitHub? # to your account

DOA estimation for FOA #32

Open
sakshamsingh1 opened this issue Jul 6, 2024 · 1 comment
Open

DOA estimation for FOA #32

sakshamsingh1 opened this issue Jul 6, 2024 · 1 comment

Comments

@sakshamsingh1
Copy link

Hi,

Thanks for the wonderful library.

I have a First Order Ambisonics (FOA) recording with a single static source. Can I use this library to estimate the direction of arrival (DOA), i.e. the azimuth and elevation angles of the sound source?

I am new to spatial audio, this might be a straightforward task, but I would greatly appreciate any guidance you can provide. A code snippet or a high-level explanation would be helpful.

Thanks,
Saksham

@chris-hld
Copy link
Owner

Hi Saksham!
Sorry for the late reply. Absolutely! There should be a few methods that would allow to design a DoA estimator from FOA.
A starting point could be MUSIC, implemented here: https://spaudiopy.readthedocs.io/en/latest/spaudiopy.parsa.html#spaudiopy.parsa.sh_music
The peaks are your DoA.
Another way would be to use the pseudo-intensity vector, e.g. https://spaudiopy.readthedocs.io/en/latest/spaudiopy.parsa.html#spaudiopy.parsa.pseudo_intensity
It may be beneficial to operate in time-frequency domain for that.
A DoA estimator is also implemented here:
https://github.com/chris-hld/hoac

Feel free to reach out for more information!

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

No branches or pull requests

2 participants