Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Text to speech converter#2994

Closed
emranpy wants to merge 2 commits intoavinashkranjan:mainavinashkranjan/Amazing-Python-Scripts:mainfrom
emranpy:mainemranpy/Amazing-Python-Scripts:mainCopy head branch name to clipboard
Closed

Text to speech converter#2994
emranpy wants to merge 2 commits intoavinashkranjan:mainavinashkranjan/Amazing-Python-Scripts:mainfrom
emranpy:mainemranpy/Amazing-Python-Scripts:mainCopy head branch name to clipboard

Conversation

@emranpy
Copy link

@emranpy emranpy commented Sep 23, 2023

Description

Added functionality to take user input as text and convert it to speech using the gTTS library. The code now prompts the user to enter text, saves the generated speech as an MP3 file, and plays the audio using the playsound library.

Fixed Issue:
N/A (This change adds new functionality to the script.)

Dependencies:

Python 3.x
gTTS (2.2.3 or compatible version)
playsound (1.2.2 or compatible version)

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update
  • Documentation Update

Checklist:

  • My code follows the style guidelines(Clean Code) of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have created a helpful and easy to understand README.md
  • My documentation follows Template for README.md
  • I have added the project meta data in the PR template.
  • I have created the requirements.txt file if needed.

Project Metadata

If there is no-file/nothing to fill the below fields with, then type: none

Example: If no requirements.txt needed/present, then type none in Requirments.

Category:

  • AI/ML

Title: <Text to speech converter>

Folder: <Text-to-speech-converter>

Requirements: <requirements.txt>

Script: <Enter the name of the text_to_speech.py file (The main entry point of the program)>

Arguments: <enter any arguments that the script needs but - separeted like: h-c-m>

Contributor: <emranpy>

Description: <Text-to-Speech Conversion: A Python script that converts text input into speech using the Google Text-to-Speech (gTTS) library and plays the generated audio>

@github-actions
Copy link

github-actions bot commented Oct 1, 2023

Due to inactivity this pull request has been marked as stale.

@github-actions github-actions bot added the Stale PRs with no updates label Oct 1, 2023
@github-actions github-actions bot closed this Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stale PRs with no updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.