Ask coding questions

← Back to all posts
Recording With a Microphone
vedprad1 (732)

Recording With a Microphone

I was experimenting with the @Google-Cloud/speech speech to text module in node.js. I was using the node-record-lpcm16 to record the stream. However, this error came up:

Process crashed with: Error: spawn rec ENOENT ...

After searching the internet, I figured out that you have to install Sox by entering into the command line:

brew install sox

Does anybody know how to do this?

My Program: https://repl.it/@vedprad1/Speech-To-Text