<h1 align="center">
<a href="https://prompts.chat">
- [Project Overview](#project-overview)
Loading actions...
<a href="https://prompts.chat">
risks
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend linting, type safety, or ESLint configuration.
This Python script utilizes the win32com library to access the Windows Speech API (SAPI) for text-to-speech functionality. It prompts the user to input words or phrases to be spoken aloud, continuously looping until the user enters "-1" to terminate the program. Upon receiving user input, it speaks the inputted text using the default text-to-speech engine provided by Windows, facilitating an interactive text-to-speech experience directly within the console environment.
This project requires Python 3.12.1 or later. To set up the project:
Ensure Python 3.12.1 or a later version is installed on your system. You can download Python from python.org.
Clone or download the repository to your local machine.
git clone https://gitlab.com/jaiswalchitransh/Python-SAPI-Voice-for-Windows.git
Open the project in your preferred Python environment (e.g., IDE or terminal).
Install win32com library using pip:
pip install pypiwin32
Run the script (speaks.py) and observe the output.
Run the script:
python speaks.py
I, Chitransh Jaiswal developed this Project Individually. I was responsible for all aspects of the project, including design, development, testing, and documentation. Contributions to improve the efficiency, readability, or functionality of the code are welcome. To contribute:
git checkout -b feature/your-feature).git commit -am 'Add some feature').git push origin feature/your-feature).Please ensure your contributions adhere to the coding standards and follow the existing style and structure.
Thank you for your interest in the Python SAPI Voice for Windows!