-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.
Description
Hey, i literally tried everything. @jmdobry could you look?
The response is always empty, when using the nodejs-docs-samples/speech/recognize.js
with parameter listen
The examples with use of reading from the file works fine.
- I had to change line 16 to:
recordProgram: 'sox'
in file
\node-record-lpcm16\index.js
because the program uses "rec" by default, not "sox", and with "rec" there is an error, because there is not such file
- for troubleshooting, i edited line 226 in file recognize.js to:
.on('data', (data) => {process.stdout.write(data.results); console.log(data);}
and the result is:
Listening, press Ctrl+C to stop.
{ error: null,
results: '',
resultIndex: 0,
endpointerType: 'END_OF_AUDIO' }
previously did "install" command as described in the readme
win 8.1 pro
sox 14.4.2 from official site https://sourceforge.net/projects/sox/files/sox/14.4.2/ && path added to environmental "path" ( "sox" typed in cmd.exe works fine)
Node.js v 7.5.0
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.triage meI really want to be triaged.I really want to be triaged.