A simple and accessible web application that converts text into spoken audio using the browser's built-in Speech Synthesis API. This tool is perfect for anyone looking to transform written content into audio.
- Converts user-inputted text into speech with a single click.
- Real-time speech playback with control to cancel or replay.
- Responsive design for a seamless experience on different devices.
- Error handling for empty text inputs.
Click here to view the live demo
-
Clone this repository to your local machine:
git clone https://github.com/HariPasapuleti/Text-to-Speech.git
-
Navigate to the project directory:
cd Text-to-Speech
-
Open
index.html
in your favorite browser to use the app.
- Type or paste text into the input area.
- Click the Play Speech button to hear the audio playback of the entered text.
- If you want to stop or replay the speech, click the button again.
- Ensure you grant microphone permissions if prompted (for some browsers).
- HTML5: Structure and layout of the web page.
- CSS3: Styling and responsive design.
- JavaScript: Logic and functionality using the Speech Synthesis API.