Skip to content

This is a simple Speech to Text application built using React and Vite. It allows users to convert spoken language into text, primarily supporting English and Indian English. The app provides features like starting and stopping speech recognition, as well as the ability to copy the transcribed text to the clipboard.

Notifications You must be signed in to change notification settings

nirdhum/speech-recognition-app

Repository files navigation

Speech to Text App

This is a simple Speech to Text application built using React and Vite. It allows users to convert spoken language into text, primarily supporting English and Indian English. The app provides features like starting and stopping speech recognition, as well as the ability to copy the transcribed text to the clipboard. The project utilizes the react-speech-recognition and react-use-clipboard packages from npm.

Features

  • Speech-to-text conversion for English and Indian English.
  • Start and stop recognition using the "Start" and "Stop" buttons.
  • Copy transcribed text to the clipboard.
  • Interactive user interface with clear feedback.
  • Lightweight and fast thanks to the Vite build tool.
  • Utilizes react-speech-recognition for speech recognition.
  • Utilizes react-use-clipboard for copying text to the clipboard.

Demo

You can try out the live demo of the Speech to Text App here: https://nirdhum.github.io/speech-recognition-app/.

Installation

Follow these steps to set up the project locally:

  1. Clone the repository to your local machine:

git clone https://github.com/nirdhum/speech-recognition-app

  1. Navigate to the project directory:

  2. Install the project dependencies using npm or yarn: npm install or yarn install

  3. Start the development server: npm run dev or yarn dev

  4. Open your browser and go to http://localhost:3000 to view the app.

Usage

  1. Start the Speech to Text App by clicking the "Start" button.
  2. Speak into your microphone, and the app will transcribe your speech into text in real-time.
  3. To stop the recognition, click the "Stop" button.
  4. Click on the transcribed text area to select all the text.
  5. Click the "Copy to Clipboard" button to copy the text to your clipboard.
  6. Paste the copied text wherever you need it.

Contributing

If you would like to contribute to the development of this app, please follow these guidelines:

  1. Fork the repository to your GitHub account.
  2. Create a new branch for your feature or bug fix: git checkout -b feature-name.
  3. Implement your changes and commit them: git commit -m "Add feature-name".
  4. Push your changes to your fork: git push origin feature-name.
  5. Create a pull request to the main repository.

License

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

Thank you for using the Speech to Text App. If you encounter any issues or have suggestions for improvements, please feel free to open an issue. I appreciate your feedback!

Thank you

Nirdhum

About

This is a simple Speech to Text application built using React and Vite. It allows users to convert spoken language into text, primarily supporting English and Indian English. The app provides features like starting and stopping speech recognition, as well as the ability to copy the transcribed text to the clipboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published