javascript voice recognition code example
Example 1: speech to text in js
$('#start-record-btn').on('click', function(e) {
recognition.start();
});
Example 2: speech to text in js
$('#pause-record-btn').on('click', function(e) {
recognition.stop();
});