introlab / odas

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

respeaker seeed #169

Closed bartengine27 closed 4 years ago

bartengine27 commented 5 years ago

Dear,

I managed to install and configure odas and odas-web. After enabling "separated audio", I get audio files like ODAS_140_2019-8-10_23-27-9-79_pf.zip Any idea what might go wrong?

Thanks, Bart

FrancoisGrondin commented 5 years ago

Sounds like you signal is clipping because the gain is too high. Try reducing the gain and tell me if it helps.

bartengine27 commented 4 years ago

Thanks for the feedback!

Turned out to be the "Sample Rate" setting in ODAS Studio under "Configure". After changing the default 16000 to 44100 the audio improved.

My config: ` separated: {

    fS = 44100;
    hopSize = 512;
    nBits = 16;        

    interface: {
         type = "socket"; ip = "192.168.1.198"; port = 10000;
     #import in audacity as raw data with
     #signed 16 bit pcm
     #little endian
         #4 channels
     #freq 44100
         #type = "file"; path = "separated.raw";
    }        

};

postfiltered: {

    fS = 44100;
    hopSize = 512;
    nBits = 16;        

    interface: {
        type = "socket"; ip = "192.168.1.198"; port = 10010;
        #type = "file"; path = "postfiltered.raw";
    }        

};

`