(require("watson-speech/speech-to-text/recognize-microphone"))(options) → {RecognizeStream}
Create and return a RecognizeStream from the user's microphone If the options.file is set, it is used instead of the microphone
Parameters:
| Name | Type | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Also passed to {MediaElementAudioStream} and to {RecognizeStream} Properties
|
Returns:
- Type
- RecognizeStream