odas_web icon indicating copy to clipboard operation
odas_web copied to clipboard

Create files of sound localization

Open mikoga opened this issue 5 years ago • 9 comments

Hi, Just asking before buying raspbery pi and a recording device, Is it possible to save the different azimuths to files with ODAS studio or ODAS live(so I can view it on a different time)? or do I need to program a script that saves the data from ODAS live? and if so, will I be able to load the files to ODAS studio? The real question is- can I use ODAS studio/live to record the different localization data and view it not on real-time? hope my question was clear and thanks in advance

mikoga avatar May 05 '19 17:05 mikoga

Hi @mikoga,

ODAS Studio does not record tracking information (azimut and energy of the potential and tracked sources).

However, ODAS, the processing library, does. You can save the tracking information to a CSV file. However, you will not be able to replay this file into ODAS Studio.

To review tracking not in real time, I would suggest you save the RAW audio trough alsa or ODAS, then run ODAS on your recorded audio to reprocess the tracking.

GodCed avatar May 06 '19 13:05 GodCed

Thanks a lot for the answer! Can you please guide the noob how to do these things? :)

  1. How to save with odaslive to csv?
  2. How to save RAW files with odaslive?

mikoga avatar Jun 20 '19 20:06 mikoga

Please see the ODAS wiki for instructions on how to adapt your config file.

GodCed avatar Jun 20 '19 20:06 GodCed

I'm not sure you can do CSV, but you can do json. You'll need interface format json, type file. For raw, you need to use an external tool, such as acrecord or Audacity. odaslive only record separated and post filtered audio. Use interface type file.

GodCed avatar Jun 20 '19 20:06 GodCed

Hi, as I dont want to open a new issue, I will jump into this (sorry) thanks for ODASweb first of all. My question is, can we measure distance to sound source ? I´m thinking on using it for active shooter location in my campus. Will it fit ? thanks in advance

oscarmh avatar Oct 05 '19 19:10 oscarmh

@oscarmh ODAS can only provide direction of arrival of sound relative to a single microphone array. However you may obtain distance by triangulating directions of arrival from multiple arrays installed at different locations.

GodCed avatar Oct 07 '19 01:10 GodCed

sounds great, any hint on how to achieve that triangulation ? Imagen I can have 3 arrays separated by let´s say 250 meters. I dont see how can I configure them in ODAS, thanks in advance

oscarmh avatar Oct 07 '19 06:10 oscarmh

You need to have one ODAS instance per array. Then you'll have to build your own software to perform the triangulation.

GodCed avatar Oct 07 '19 12:10 GodCed

You can find some info in a paper with wrote a little while ago to perform triangulation with multiple arrays:

https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=8206065

FrancoisGrondin avatar Oct 07 '19 15:10 FrancoisGrondin