Skip to content

react library using the speech syntesizer API to convert text to speech in real time

License

Notifications You must be signed in to change notification settings

7rajatgupta/react-text-to-speech

Repository files navigation

react-text-to-speech

Overview

This repository contains a cutting-edge text-to-speech synthesizer developed by Rajat Gupta using React, Vite, and the Speech Synthesis Browser API. The application boasts a sleek and intuitive user interface, providing users with a seamless experience for converting text to speech in real-time.

Features

  • Utilizes React for efficient component-based development, ensuring maintainability and scalability of the application.
  • Employs Vite as a lightning-fast build tool, optimizing the development workflow and enhancing developer productivity.
  • Harnesses the power of the Speech Synthesis Browser API to deliver high-quality and natural-sounding speech output.
  • Implements TypeScript throughout the codebase, leveraging static typing to enhance code quality, readability, and maintainability.
  • Maintains top-notch code quality through comprehensive unit and integration testing, ensuring robustness and reliability of the application.
  • Provides API mocks for seamless integration with backend services, enabling rapid development and testing of frontend functionality.
  • Defines interfaces and types to enforce type safety and facilitate clean and consistent data handling throughout the application.

Installation

  1. Clone the repository:

    git clone git@github.com:7rajatgupta/react-text-to-speech.git
    
  2. Navigate to the project directory:

    cd react-text-to-speech
    
  3. Install dependencies:

    npm install
    
  4. Start the development server:

    npm run dev
    
  5. Open your browser and navigate to http://localhost:3000 to access the application.

Usage

  1. Enter the desired text in the input field.
  2. Click the "Convert" button to generate speech output.
  3. Adjust settings such as voice type, pitch, and rate as needed.
  4. Enjoy natural-sounding speech output in real-time.

Contribution Guidelines

Contributions to this repository are welcome! Please follow these guidelines:

  • Fork the repository and create a new branch for your feature or bug fix.
  • Ensure adherence to existing coding standards and practices.
  • Write clear and concise commit messages.
  • Submit a pull request detailing the changes made and the problem solved.

Credits

This project is maintained by Rajat Gupta.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Feel free to explore the codebase, contribute enhancements, or report issues. Happy coding! 🚀

Releases

No releases published

Packages

No packages published