Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to change voice of pyttsx3

import pyttsx3
engine = pyttsx3.init()
voices = engine.getProperty('voices')
engine.setProperty('voice', voices[0].id) #changing index changes voices but ony 0 and 1 are working here
engine.say('Hello World')
engine.runAndWait()
Comment

PREVIOUS NEXT
Code Example
Python :: postgres python 
Python :: pandas read_csv random rows 
Python :: determinant of a matrix in python 
Python :: save dataframe to csv without index 
Python :: simplify fractions python 
Python :: how to get all file names in directory python 
Python :: libraries used in ANN with sklearn 
Python :: python repeating scheduler 
Python :: pandas not is na 
Python :: zipfile python 
Python :: python random email generator 
Python :: python image to pdf 
Python :: debug flask powershel 
Python :: pandas df remove index 
Python :: rotate labels matplotlib 
Python :: flask post 
Python :: convert python pandas series dtype to datetime 
Python :: How to extract numbers from a string in Python? 
Python :: python timeit commandline example 
Python :: ros python publisher 
Python :: import models 
Python :: rotate image pyqt5 
Python :: pandas show all dataframe 
Python :: meme command discord.py 
Python :: Removing punctuation in Python 
Python :: python input. yes or no 
Python :: runner up score hackerrank 
Python :: how to increase and decrease volume of speakers using python 
Python :: python requests pass auth token 
Python :: matplotlib change bar color under threshold 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =