This project uses the browser's voice recognition API and a translation API to convert speech to text and translate it into another language. The interface is user-friendly and features a "cute" style. ⸜(。˃ ᵕ ˂ )⸝♡ ˚ ✦ . . ˚ . . ✦ ˚ . ★⋆. . ˚ ✭ * ✦ . . ✦ ˚ ˚ .˚ ✭ . . ˚ . ✦ ˚ ✦ . . ˚ . . ✦ ˚ . ★⋆. . ˚ ✭ * ✦ . . ✦ ˚ ˚ .˚ ✭ . . ˚ . ✦
- Voice Recognition: Captures audio and converts it to text.
- Translation: Translates the recognized text into a selected language.
- Attractive Interface: "Cute" visual style enhances the user experience.
- Custom Cursor: A custom cursor adds a unique touch to the interface.
- Listening Indicator: Displays a "Listening..." message while capturing audio.
Currently, the project supports the following languages for recognition and translation:
- Russian
- Ukrainian
- English
- Spanish
- Add More Languages: I plan to include support for additional languages in the future, expanding the options available to users. Integrate AI Features: Explore the integration of AI for contextual understanding and smarter translations that can handle idiomatic expressions and regional dialects.
- Voice Personalization: Implement options for users to choose different voice styles and accents for speech synthesis.
- Optimize the Interface: Continue improving the interface design to make it even more intuitive and appealing.
- HTML/CSS: Structure and styling of the interface.
- JavaScript: Logic for voice recognition and translation.
- APIs:
- Browser voice recognition API.
- Translation API (MyMemory).
- A modern browser that supports the voice recognition API (Google Chrome recommended).
-
Clone the repository: git clone https://github.com/an4s3crwt/real-time-voice-translator.git cd real-time-voice-translator
-
Open the HTML file in your browser: index.html
-
Select the source language (the language you will speak) and the target language (the language you want to translate to).
-
Click the "Start" button to start speaking. The recognized text will appear on the screen and be automatically translated.
-
Enjoy real-time translation.
♡∩_∩
(„• ᵕ •„)♡
┏━∪∪━━━━━━━━━┓
♡ ♡ Enjoy the code!
┗━━━ ━━━ ━━━ ━━┛⠀⠀
Contributions are welcome. If you want to improve this project, please open an issue or a pull request.