How to save the output of PyTTSx to wav file
问题 I'm trying to find a solution why my code doesn't work properly. I used solution from Recording synthesized text-to-speech to a file in Python, and it kinda didnt worked out for me. The question is why 2 methods/functions text_to_wav and all_texts_to_files doesnt work for me. import json import pyttsx from openpyxl import load_workbook import subprocess class Ver2ProjectWithTTS(object): def __init__(self): self.list_merge = [] def do_the_job(self): self.read_json_file() self.read_xml_file()