Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mic-speaker - TypeError: record.start is not a function #84

Closed
cyrild84 opened this issue Sep 6, 2020 · 4 comments
Closed

mic-speaker - TypeError: record.start is not a function #84

cyrild84 opened this issue Sep 6, 2020 · 4 comments

Comments

@cyrild84
Copy link

cyrild84 commented Sep 6, 2020

Hi, I got this error with mic-speaker, after enter my OAuth code :
Say something!
/home/pi/******/node_modules/google-assistant/examples/mic-speaker.js:55
const mic = record.start(...
TypeError: record.start is not a function

I might have found a similar issue on node-record-lpcm16 repo link
but not very familiar with type script.
Thanks

@endoplasmic
Copy link
Owner

Hmm, have never seen that before...

In the package.json, you should be using my fork:

"devDependencies": {
    "node-record-lpcm16": "git+https://github.com/endoplasmic/node-record-lpcm16.git",
    "speaker": "^0.4.2"
  }

@bugsounet
Copy link

@endoplasmic : That does not surprise me

the original node-record-lpcm16 is so buggy everyone needs their own code! (mine)

@cyrild84
Copy link
Author

cyrild84 commented Sep 6, 2020

Thanks, problem solved.

@cyrild84 cyrild84 closed this as completed Sep 6, 2020
@Allakazan
Copy link

Anyone there is an Typescript alternative ? I can't find a library that fits into my project lol

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants