Change Pyttsx3's sound output source

Viewed 269

I am using a library called pyttsx3 to convert text to speech. How can I direct the output sound to a specific speaker?

Code:

engine = pyttsx3.init()

# -Select an output source-

engine.say('Hello World!')
engine.runAndWait()
0 Answers
Related