GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Audio Stream Timing Out Instantly · Issue #626 · GoogleCloudPlatform/nodejs-docs-samples Closed DescriptionSo I'm trying to get Google speech to text to listen to my microphone for transcription. I am using windows and sox. System variable path is set and all google cloud accounts are active. My problem is that the service stops right as it starts. The max amount of time it ran for was around 50ms. Here's a screencap of what I get in the command prompt. Here's my code: const express = require('express'); const fs = require('fs'); const LISTEN_PORT = 8080; var transText; server.listen(LISTEN_PORT); console.log("Listening on port: " + LISTEN_PORT); app.get( '/', function( req, res ){ ////////////////////////////////////////////////////////////////////// // Creates a client // Imports the Google Cloud client library // Creates a client const encoding = 'LINEAR16'; const request = { // Create a recognize stream // Start recording and send the microphone input to the Speech API setTimeout(function () { console.log('Listening, press Ctrl+C to stop.'); ////////////////////////////////////////////////////////////////////////// }); Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |