How to add My Own voice in Text to speech – Speech Synthesis used in angular

  Kiến thức lập trình

-I want to add my own voice to text to speech service, i need step by step methods on how to add my own voice on angular text to speak synthesis

-ts file

speak(text: string) {
const synth = window.speechSynthesis;
const utterance = new SpeechSynthesisUtterance(text);
synth.speak(utterance);
 }
 talk(){}
}


  audiSpeak() {
  this.TexttospeechService.speak(this.customeText)
  };


  playSound(e: string) {
  this.AudiofileService.playAudio(e)`

New contributor

sevvel rcm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT