Python Forum
How to save pttsx text to speech to audio file?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to save pttsx text to speech to audio file?
#1
I've Googled this and I'm sure it is out there somewhere but I guess I missed it.

I've got pttsx working for text to speech but want to save the audio to an audio file... wav, mp3, or whatever.

I'm on a Windows 10 machine.

Thanks for any help and sample code :-)
Reply
#2
I couldn't find a lot on pttsx, and it's not in the standard PyPi repository.
Have you looked at https://pypi.python.org/pypi/gTTS/1.2.2 or other packages?
This package does the speech to text and mp3 save
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Read TXT file in Pandas and save to Parquet zinho 2 1,360 Sep-15-2024, 06:14 PM
Last Post: zinho
  Open/save file on Android frohr 0 1,184 Jan-24-2024, 06:28 PM
Last Post: frohr
  how to save to multiple locations during save cubangt 1 1,354 Oct-23-2023, 10:16 PM
Last Post: deanhystad
  chua osillator to audio file sddfds 0 883 Jul-13-2023, 11:07 PM
Last Post: sddfds
  save values permanently in python (perhaps not in a text file)? flash77 8 2,814 Jul-07-2023, 05:44 PM
Last Post: flash77
  Save and Close Excel File avd88 0 6,804 Feb-20-2023, 07:19 PM
Last Post: avd88
Thumbs Up Need to compare the Excel file name with a directory text file. veeran1991 1 2,094 Dec-15-2022, 04:32 PM
Last Post: Larz60+
  Save multiple Parts of Bytearray to File ? lastyle 1 1,663 Dec-10-2022, 08:09 AM
Last Post: Gribouillis
  Modify values in XML file by data from text file (without parsing) Paqqno 2 3,251 Apr-13-2022, 06:02 AM
Last Post: Paqqno
  Controlling text-to-speech pauses with pyttsx3 pmac1300 4 7,313 Mar-14-2022, 06:47 AM
Last Post: Coricoco_fr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020