introlab / odas

ODAS: Open embeddeD Audition System
MIT License
780 stars 248 forks source link

Need help with saving audio input from individual microphones on Matrix #183

Open yihanhu97 opened 4 years ago

yihanhu97 commented 4 years ago

Hey guys, I've been using ODAS library for a research project for a while now and we would like to collect more data.

Right now we are collecting the audio input generated through ODAS. e.g. 'separated.raw' & 'postfiltered.raw'. I understand that ODAS takes the individual audio input from 8 microphones on Matrix and then generates a combined audio file like just mentioned. For this research, we would also like to collect the raw audio input from the microphones. Thus by the end of each recording, we will have 10 audio files, 'separated.raw', 'postfiltered.raw', 'channel1.raw', ... ,'channel8.raw'

I wonder if this is possible and I'd appreciate it if anyone can give me any suggestions and point me in the right direction.

Thank you.

emil2099 commented 4 years ago

I wonder if this repo is active, as the project is quite amazing.

I also need to save individual input channels for a project. Is this possible?

Thanks!

FrancoisGrondin commented 4 years ago

Hi there,

The project is still active :) I'm now starting a new position as a university professor, which will provide me with more time to work on ODAS and get students involved. The current version was released as beta, and we've received a lot of comments and suggestions. We could also eventually include some deep learning algorithms to make the system more up to date with the latest methods.

hasagar97 commented 4 years ago

@FrancoisGrondin Is it possible to record raw audio using the current version of odas? If not could you point me where in the code can I change things so as to add this feature, I would be more than happy to add this feature. Thanks

FrancoisGrondin commented 4 years ago

I think this is not possible in this version (that's a shame...) but you could probably access the raw data loaded by the corresponding source module and just "dump" it in a file. If you look at this line:

https://github.com/introlab/odas/blob/master/src/source/src_hops.c#L363

You could dump the buffer in a file. That's a hack... I'm coding the new version and it would be much easier in the new version to obtain the raw and save it/send it somewhere.

Cheers,

yihanhu97 commented 4 years ago

Hi Francois,

Do you know if ODAS has a detecting range? I noticed that when I have a source placed about 6 feet away, the sound separation and DOA estimation do not work quite well.

Best, Yihan

On Thu, Jan 16, 2020 at 6:05 AM François Grondin notifications@github.com wrote:

I think this is not possible in this version (that's a shame...) but you could probably access the raw data loaded by the corresponding source module and just "dump" it in a file. If you look at this line:

https://github.com/introlab/odas/blob/master/src/source/src_hops.c#L363

You could dump the buffer in a file. That's a hack... I'm coding the new version and it would be much easier in the new version to obtain the raw and save it/send it somewhere.

Cheers,

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/introlab/odas/issues/183?email_source=notifications&email_token=AIQE6F7L2VCZAXMDWSAZRHDQ6BSTJA5CNFSM4JH6SEB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJEFNGI#issuecomment-575166105, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIQE6F2NNRFBL7V7VIR5HNLQ6BSTJANCNFSM4JH6SEBQ .