respeaker / get_started_with_respeaker

This is the wiki of ReSpeaker Core V2, ReSpeaker Core and ReSpeaker Mic Array.
259 stars 83 forks source link

NodeJS SDK or API #210

Closed henryoliver closed 6 years ago

henryoliver commented 6 years ago

Which version is your board?

ReSpeaker Core V2

Hi guys! Great job on the new ReSpeaker, so excited to get my hands on it! :)

How could I listen from the ReSpeaker input mic using Node.js and communicate with a JavaScript-based Dialogflow/Google assistant SDK?

Appreciate any help on that.

Thanks!

KillingJacky commented 6 years ago

Hi @henryoliver It's quite a common question. We now are not supporting the NodeJS SDK. If you're really a Nodejs fan, you'd better get your hands dirty to dig some useful Nodejs libraries out. Basically, you need to find a library of access the audio framework of Linux, and a library of the ASR engine. Here're what I get from google:

I didn't find official Nodejs implementation for the Google Assistant SDK, but there're some from 3rd parties.

henryoliver commented 6 years ago

@KillingJacky Thanks! Appreciate the help! :)