Create Text to Speech Converter using HTML, CSS & JavaScript

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2023
  • In this video, I will show you how you can easily convert text to speech using HTML, CSS & JavaScript. I have used SpeechSynthesis API in JavaScript to convert text to speech.

Комментарии • 3

  • @src.obaida
    @src.obaida 6 месяцев назад

    1st

  • @tvpersonalizada
    @tvpersonalizada 6 месяцев назад

    if i want a portuguese-BR audio? what i do?

    • @Codingflag
      @Codingflag  6 месяцев назад +1

      In this video I have used 1st voice in the speechSynthesis voices list. You can find all voices supported by browser using console.log(speechSynthesis.getVoices()) and choose appropriate voice( in this video I have used index 0 in line number 5, you need to replace it with your selected voice index )