Page 2 of 5

Re: noise suppression with librespeaker in RespeakerCorev2

Posted: Wed Oct 17, 2018 5:08 pm
by chdyejiewei
Is it possible to run out of memory? It seems like the most probable cause bad_array_new_length.
http://en.cppreference.com/w/cpp/memory ... new_length

Re: noise suppression with librespeaker in RespeakerCorev2

Posted: Wed Oct 17, 2018 5:49 pm
by cinettoa
Hi,
I confirm the checksum

md5sum librespeaker_2.0.1-build181017_armhf.deb
b98d4bc263215f28162ff2c9a2df182b librespeaker_2.0.1-build181017_armhf.deb

It seems to me strange that this is a memory problem.
This same examples war running properly with the previous bugged version.
I will double check also this by the way.
Is it working in your respeakerCore?

Re: noise suppression with librespeaker in RespeakerCorev2

Posted: Wed Oct 17, 2018 6:06 pm
by chdyejiewei
Yes, it is working on my core v2.
You can try the following main_vep_nr_test built on my Respeaker Core V2.

Code: Select all

respeaker@v2:~/test_nr/src$ uname -a
Linux v2 4.4.138-respeaker-r0 #2 SMP Wed Jul 25 11:29:18 CST 2018 armv7l GNU/Linux

Re: noise suppression with librespeaker in RespeakerCorev2

Posted: Thu Oct 18, 2018 3:48 pm
by cinettoa
uname -a returns the same output of yours.

the file you attached is returning the same error.

I've tried to reflash the SD card, reinstall only librespeaker and its dependencies and then run again but I still get the same error.

Any other idea?

Re: noise suppression with librespeaker in RespeakerCorev2

Posted: Thu Oct 18, 2018 6:43 pm
by chdyejiewei
Hi Cinettoa,

I have also tried to reflash the SD card. I installed librespeaker-2.0.0 and pulseaudio, copy common.res and alexa.umdl and "main_vep_nr_test" I built before, then reboot. After reboot, of course main_vep_nr_test was able to run, but it just could not wake up because I were using librespeaker-2.0.0. Then I installed librespeaker-2.0.1 and made a symbolic link to "librespeaker.so.2". After this, my "main_vep_nr_test" worked well.
If these steps don't help, I suggest you use another faster SD card(eg. class10).

Re: noise suppression with librespeaker in RespeakerCorev2

Posted: Fri Oct 19, 2018 9:22 am
by cinettoa
Hi,
I've tried step by step you procedura but I still get the same error.
I will buy a faster SD and try again.
It is possible that my feedback will be a little delayed this time.

I have another question related to this library. If you prefer I can open a new issue.

Do you have any guidance or example on how to return the output of the librespeaker audio processing pipeline to a linux device instead of a file?

Thanks for your help!

Re: noise suppression with librespeaker in RespeakerCorev2

Posted: Fri Oct 19, 2018 3:48 pm
by chdyejiewei
HI Cinettoa,

Any feedback is welcome!

And please open a new issue of your question;). Can you explain more about your question? Do you mean that you need to process audio stream on ReSpeaker and then send that stream to another Linux device?

Re: noise suppression with librespeaker in RespeakerCorev2

Posted: Fri Oct 19, 2018 4:38 pm
by cinettoa
Thanks!
I'm going to open a new issue so you can reply me there!

Re: noise suppression with librespeaker in RespeakerCorev2

Posted: Wed Oct 24, 2018 1:09 am
by rodionov12
The same problem with "out of the box" example. I'm using new librespeaker_2.0.1 library version

Re: noise suppression with librespeaker in RespeakerCorev2

Posted: Wed Oct 24, 2018 9:53 am
by chdyejiewei
You mean the "bad_array_new_length" problem when using librespeaker_2.0.1 ? Or the "Noise Suppression doesn't work" problem? Can you provide more information? Thanks!