introlab / odas

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

No output for postfiltered.raw / seperated.raw #245

Open anuragacr opened 3 years ago

anuragacr commented 3 years ago

Hi,

I have been unable to get any output for these files, which i am assuming to the the results of the sound source separation unit. Also, the ODAS_web client fails to respond when trying to record audio. Are these issues interconnected and how do i resolve them?

thanks

Bengisu2 commented 2 years ago

hello, were you able to fix the error? I am getting the same error while recording. @anuragacr

myfatemi04 commented 2 years ago

when this happened to me, it was because one of the audio channels was somehow empty. if you're using the ReSpeaker 6-mic array, I recommend changing the channel mapping from (1, 2, 3, 4, 5, 6) to (1, 2, 3, 4, 7, 8). (Channels 5 and 6 are used as playback channels). When I changed the channel mapping, sound separation started working again.

Datian996 commented 2 years ago

@myfatemi04 hi, I'm using a respeaker 6mic and I'm having trouble recording audio too.Aren't channels 7 and 8 used for playback, I learned from https://wiki.seeedstudio.com/ReSpeaker_6-Mic_Circular_Array_kit_for_Raspberry_Pi/)) Any help is greatly [appreciated.

myfatemi04 commented 2 years ago

@Datian996 Hey, I don't know the exact reason why but sometimes the playback channels aren't what ReSpeaker writes in the spec. I would recommend recording and viewing the output of each channel manually, such as through Audacity, and then setting the channels accordingly. It seems like whichever channels are empty in a recording are used for playback, and then the rest of the channels are listed in the original order (1, 2, 3, 4, 5, 6). So for example if you notice that channels 3 and 4 are empty, then channels 5, 6, 7, 8, 1, 2 are the channels corresponding to the original 1, 2, 3, 4, 5, 6