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
  Open/save file on Android frohr 0 312 Jan-24-2024, 06:28 PM
Last Post: frohr
  how to save to multiple locations during save cubangt 1 539 Oct-23-2023, 10:16 PM
Last Post: deanhystad
  chua osillator to audio file sddfds 0 430 Jul-13-2023, 11:07 PM
Last Post: sddfds
  save values permanently in python (perhaps not in a text file)? flash77 8 1,203 Jul-07-2023, 05:44 PM
Last Post: flash77
  Save and Close Excel File avd88 0 2,996 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 1,110 Dec-15-2022, 04:32 PM
Last Post: Larz60+
  Save multiple Parts of Bytearray to File ? lastyle 1 936 Dec-10-2022, 08:09 AM
Last Post: Gribouillis
  Modify values in XML file by data from text file (without parsing) Paqqno 2 1,649 Apr-13-2022, 06:02 AM
Last Post: Paqqno
  Controlling text-to-speech pauses with pyttsx3 pmac1300 4 4,419 Mar-14-2022, 06:47 AM
Last Post: Coricoco_fr
  Converted Pipe Delimited text file to CSV file atomxkai 4 6,949 Feb-11-2022, 12:38 AM
Last Post: atomxkai

Forum Jump:

User Panel Messages

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