untemps / vocal Goto Github PK
View Code? Open in Web Editor NEWClass wrapped around the SpeechRecognition Web API
License: MIT License
Class wrapped around the SpeechRecognition Web API
License: MIT License
The lib needs to access microphone using the navigator
API with the permissions
and mediaDevices
properties which may be unsupported by some browsers.
The isSupported
has to handle this use case by checking this support.
iOS browsers support the SpeechRecognition Web API from version 14.5.
However all related APIs are not fully implemented, SpeechGrammarList for example. That means, on iOS 14.5, the class crashes the app.
I think we should check if the SpeechGrammarList API is supported to run correctly the class.
The isSupported
getter checks if both SpeechRecognition
and SpeechGrammarList
APIs are supported. However only SpeechRecognition
is mandatory to make the lib working.
We should restrict the getter to this unique checking and improve the constructor to verify needed APIs are supported one by one.
The last version of the dep fixes a minor issue and improves distribution
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.