Library with services for communicating with Tilde TSP platform
npm install @tilde-nlp/asr-api-clientbeginVoiceRecognition - starts recording (asks permission for mic if needed) and creates connection with asr api.
endVoiceRecognition(forceCloseWebsocket = false) - stops recording and closes socket if forceCloseWebsocket param is set to true. If forceCloseWebsocket is set to false, it will close connection on next final result.
element. To be able to create this visualization, you need to add element to your html and pass elements ID to visualizer configuration.
html
Tilde speech recognition example
`
$3
`html
Tilde speech recognition example
``