MCPcopy Create free account
hub / github.com/ActiveState/code / getVoiceList

Method getVoiceList

recipes/Python/167487_Windows_SAPI4/recipe-167487.py:88–98  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

86 return voice_no
87
88 def getVoiceList(self):
89 #fill list of avaliable voices
90 voice_count = self.directss.CountEngines
91 voice_no = 1
92 self.voice_list=[]
93 while voice_no < voice_count + 1:
94 voice_name = self.directss.ModeName(voice_no)
95 #print 'adding voice' + voice_name
96 self.voice_list.append(voice_name)
97 voice_no = voice_no + 1
98 return None
99
100 def setSpeed(self, speed):
101 #set voice speed

Callers 1

__init__Method · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected