noise suppression with librespeaker in RespeakerCorev2

info about ReSpeaker series products

Moderators: lily.li, violet, seth.welday

rodionov12
Pre-kindergarten
Pre-kindergarten
Posts: 5
Joined: Wed Oct 24, 2018 12:02 am

Re: noise suppression with librespeaker in RespeakerCorev2

Post by rodionov12 » Thu Oct 25, 2018 2:19 am

chdyejiewei wrote:
Wed Oct 24, 2018 9:53 am
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!
Noise Suppression doesn't work

cinettoa
Pre-kindergarten
Pre-kindergarten
Posts: 30
Joined: Fri Jul 20, 2018 10:33 am

Re: noise suppression with librespeaker in RespeakerCorev2

Post by cinettoa » Tue Oct 30, 2018 2:01 pm

chdyejiewei wrote:
Fri Oct 19, 2018 3:48 pm
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?


Hi!
I've tried again using a fast sd card (sundisk 128Gb V30 U1 A2) but still the same error.
What about if I create an image of my respeaker core v2 and I send to you for testing?
how can I send you such a big image?

Thanks!

chdyejiewei
Pre-kindergarten
Pre-kindergarten
Posts: 22
Joined: Mon Oct 15, 2018 3:11 pm

Re: noise suppression with librespeaker in RespeakerCorev2

Post by chdyejiewei » Thu Nov 01, 2018 10:31 am

Hi Cinettoa,

You can upload your image to Google Drive. But one more thing need to confirm before that, check if you are using the latest image downloaded from here: https://v2.fangcloud.com/share/7395fd13 ... 14&lang=en

Thanks.

cinettoa
Pre-kindergarten
Pre-kindergarten
Posts: 30
Joined: Fri Jul 20, 2018 10:33 am

Re: noise suppression with librespeaker in RespeakerCorev2

Post by cinettoa » Thu Nov 01, 2018 5:54 pm

Hi,
I confirm that I am using the respeaker-debian-9-lxqt-sd-20180801-4gb.img which should be the last.
Tomorrow I upload the image of my sd card and send you the link of my google drive.

cinettoa
Pre-kindergarten
Pre-kindergarten
Posts: 30
Joined: Fri Jul 20, 2018 10:33 am

Re: noise suppression with librespeaker in RespeakerCorev2

Post by cinettoa » Wed Nov 07, 2018 10:08 am

Hi, I've sent you the google drive link via private messaging.
Please let me know your findings

cinettoa
Pre-kindergarten
Pre-kindergarten
Posts: 30
Joined: Fri Jul 20, 2018 10:33 am

Re: noise suppression with librespeaker in RespeakerCorev2

Post by cinettoa » Wed Nov 21, 2018 2:36 pm

Hi Jerry,
Do you have any feedback from your testing?

dave.rogers
Pre-kindergarten
Pre-kindergarten
Posts: 8
Joined: Tue Jun 19, 2018 6:59 am

Re: noise suppression with librespeaker in RespeakerCorev2

Post by dave.rogers » Fri Nov 30, 2018 12:35 am

I tried to compile and link the code, but there are references to header files that do not exist in the librespeaker-dev include files, e.g. "vep_doa_kws_node.h".

If I download the missing header files from searching on the net, it compiles but does not link:

/tmp/ccaZ9AuP.o: In function `main':
main_vep_nr_test.cc:(.text+0x482): undefined reference to `respeaker::VepAecBeamformingNode::Create(int, bool)'
main_vep_nr_test.cc:(.text+0x504): undefined reference to `respeaker::VepDoaKwsNode::Create(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, bool, bool)'
collect2: error: ld returned 1 exit status

librespeaker Version: 2.1.1-build181119

cinettoa
Pre-kindergarten
Pre-kindergarten
Posts: 30
Joined: Fri Jul 20, 2018 10:33 am

Re: noise suppression with librespeaker in RespeakerCorev2

Post by cinettoa » Tue Dec 04, 2018 2:30 pm

Hi,
I've seen the new release 2.1.1 and I've tried to compile the new examples. It seems that the librespeaker-dev package doesn't install the header files. So I've downloaded them (from librespeaker website one by one with copy and paste.....)
then put respeaker.h in /usr/include/respeaker/
and all the other headers in /usr/include/respeaker/chain_nodes .

Then you need to modify the examples because they contain the wrong path to the various models for hotwords (librespeaker package actually install those models but the examples contains a wrong path).

Then you can compile with g++ as usual.

However I would like to say that it is pretty disappointing that nobody from Respeaker is following this forum since one month.

chdyejiewei
Pre-kindergarten
Pre-kindergarten
Posts: 22
Joined: Mon Oct 15, 2018 3:11 pm

Re: noise suppression with librespeaker in RespeakerCorev2

Post by chdyejiewei » Tue Dec 04, 2018 9:12 pm

Hi Cinettoa,

I apologize for my late reply. I am very sorry about this.

Does this new librespeaker2.1.1 work on your board?
For the header files problems, I think you have to remove "/usr/local/lib/pkgconfig/respeaker.pc" manually.

Sincere apology,
Jerry

cinettoa
Pre-kindergarten
Pre-kindergarten
Posts: 30
Joined: Fri Jul 20, 2018 10:33 am

Re: noise suppression with librespeaker in RespeakerCorev2

Post by cinettoa » Wed Dec 05, 2018 1:20 pm

Hi Jerry,
Thanks for your reply.

I've just finished to test the new Librespeaker 2.1.1 and seems like the issue for the NS module is fixed.

Thanks for your effort to improve the product.

Now I have to find out the way to send the output to Snips or to another ASR but I guess I have to try out the respeakerd code for this.

If you have any additional suggestion you are more than welcome!

Post Reply