Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

221
Vistas
Uncaught TypeError: SpeechKITT.displayRecognizedSentence is not a function

I am using annyang.js for speech recognition but my SpeechKITT.displayRecognizedSentence is not working I Tried by downloading the annyang library in local folder but nothing works for me please anyone help me with this my full 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();
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

It looks like the library issue, there is the old issue on github about that (https://github.com/TalAter/SpeechKITT/issues/42)

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda