(require("watson-speech/speech-to-text/recognize-microphone"))(options) → {RecognizeStream|FormatStream}
Create and return a RecognizeStream sourcing audio from the user's microphone
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Also passed to {RecognizeStream}, and {FormatStream} when applicable Properties
|
Returns:
- Type
- RecognizeStream | FormatStream
Methods
(inner) handleError(error)
Propagate error to new FormatStream
Parameters:
| Name | Type | Description |
|---|---|---|
error |
String | message |