in src/app/app.component.ts [62:72]
async speechInput() {
this.prompt = '';
this.speechActive = true;
const prompt = await this.speech.listen(this.currentLanguage);
this.prompt = prompt;
this.speechActive = false;
this.recognize();
}