You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all thanks for this wonderful project i have something which i want to use, SpeechKITT.displayRecognizedSentence(true) not previewing the last sentence i spoken i used speechkitt.min.jsgithub link instead of cdn but both never work for me this is my code
var commands = {
'hello': function() { alert('Hello world!'); }
};
// Add our commands to annyang
annyang.addCommands(commands);
// Tell KITT to use annyang
SpeechKITT.annyang();
// Stylesheet for KITT to use
SpeechKITT.setStylesheet('https://cdnjs.cloudflare.com/ajax/libs/SpeechKITT/1.0.0/themes/flat.css');
SpeechKITT.setInstructionsText('Some commands to try…');
SpeechKITT.setSampleCommands(['say Hello, Ok google etc..']);
SpeechKITT.displayRecognizedSentence(true);
// When start
SpeechKITT.setStartCommand(function() {
console.info('Speech Recognition Started ______________________________');
annyang.start();
});
// When abort
SpeechKITT.setAbortCommand(function() {
console.info('Stopping ............................');
annyang.abort();
});
// Render KITT's interface
SpeechKITT.vroom();
The text was updated successfully, but these errors were encountered:
On Fri, 29 May 2020, 11:14 am sivakumarkoduru, ***@***.***> wrote:
this is some css issue. its showing in the dev tab with display:none.
annyang.addCallback('result', function(phrases) {
var ele =
document.getElementById("skitt-listening-text__recognized-sentence");
if(ele){
ele.style.display ='';
}
}
but still it is not working.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADAHPPET2NN5QPEM4QDEUJLRT5HEZANCNFSM4ETLS2XA>
.
First of all thanks for this wonderful project i have something which i want to use, SpeechKITT.displayRecognizedSentence(true) not previewing the last sentence i spoken i used speechkitt.min.js github link instead of cdn but both never work for me this is my
code
The text was updated successfully, but these errors were encountered: