Skip to content

Latest commit

 

History

History
 
 

lab4

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Stars Badge Forks Badge Pull Requests Badge Issues Badge GitHub contributors Visitors

Don't forget to hit the ⭐ if you like this repo.

Lab 4: Text To Speech Converter

Text To Speech (TTS) is a technology that converts your text into speech sounds. You can convert your text into speech using different voices in this project (Text To Speech Converter App). If your text character length exceeds 80, a pause and resume option is also available.

In the JavaScript code, we must enter text and call the textToSpeech () function, passing the user text as an argument. Within this function, use the window object's speech synthesis property to convert the entered text to speech. Speech Synthesis is a web API for controlling the speech service.

Then, using the getVoices () method of Speech Synthesis, extract voices from the user device and insert them into the HTML select tag.

File 📁 : 4Text To Speech

Activity 🏆 :

  • For this application, you must create a flowchart.
  • How is select voice displayed as a dropdownlist? (Figure 4.2)
  • How does text become speech?
  • How can a voice be heard?

Figure 4.1: Text to Speech

Figure 4.2: Select voice

Contribution 🛠️

Please create an Issue for any improvements, suggestions or errors in the content.

You can also contact me using Linkedin for any other queries or feedback.

Visitors