watson.speech_to_text({version: 'v1', ...});
pipe()-able Node.js Readable/Writeable stream - accepts binary audio and emits text in it's `data` events.
Also emits `results` events with interim results and other data.
Cannot be instantiated directly, instead reated by calling #createRecognizeStream()
Uses WebSockets under the hood. For audio with no recognizable speech, no `data` events are emitted.
Parameters:
| Name |
Type |
Description |
options |
|
|
- Source:
Object with interim or final results, including possible alternatives. May have no results at all for empty audio files.