forked from christineye/calibre-tts-ebook-viewer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tts_typelib.py
5170 lines (4764 loc) · 298 KB
/
tts_typelib.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# -*- coding: mbcs -*-
# Created by makepy.py version 0.5.01
# By python version 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 10:38:22) [MSC v.1600 32 bit (Intel)]
# From type library 'sapi.dll'
# On Sun Apr 3 15:49:07 2016
'Microsoft Speech Object Library'
makepy_version = '0.5.01'
python_version = 0x30401f0
import win32com.client.CLSIDToClass, pythoncom, pywintypes
import win32com.client.util
from pywintypes import IID
from win32com.client import Dispatch
# The following 3 lines may need tweaking for the particular server
# Candidates are pythoncom.Missing, .Empty and .ArgNotFound
defaultNamedOptArg=pythoncom.Empty
defaultNamedNotOptArg=pythoncom.Empty
defaultUnnamedArg=pythoncom.Empty
CLSID = IID('{C866CA3A-32F7-11D2-9602-00C04F8EE628}')
MajorVersion = 5
MinorVersion = 4
LibraryFlags = 8
LCID = 0x0
class constants:
DISPID_SRGCmdLoadFromFile =7 # from enum DISPIDSPRG
DISPID_SRGCmdLoadFromMemory =10 # from enum DISPIDSPRG
DISPID_SRGCmdLoadFromObject =8 # from enum DISPIDSPRG
DISPID_SRGCmdLoadFromProprietaryGrammar=11 # from enum DISPIDSPRG
DISPID_SRGCmdLoadFromResource =9 # from enum DISPIDSPRG
DISPID_SRGCmdSetRuleIdState =13 # from enum DISPIDSPRG
DISPID_SRGCmdSetRuleState =12 # from enum DISPIDSPRG
DISPID_SRGCommit =6 # from enum DISPIDSPRG
DISPID_SRGDictationLoad =14 # from enum DISPIDSPRG
DISPID_SRGDictationSetState =16 # from enum DISPIDSPRG
DISPID_SRGDictationUnload =15 # from enum DISPIDSPRG
DISPID_SRGId =1 # from enum DISPIDSPRG
DISPID_SRGIsPronounceable =19 # from enum DISPIDSPRG
DISPID_SRGRecoContext =2 # from enum DISPIDSPRG
DISPID_SRGReset =5 # from enum DISPIDSPRG
DISPID_SRGRules =4 # from enum DISPIDSPRG
DISPID_SRGSetTextSelection =18 # from enum DISPIDSPRG
DISPID_SRGSetWordSequenceData =17 # from enum DISPIDSPRG
DISPID_SRGState =3 # from enum DISPIDSPRG
DISPIDSPTSI_ActiveLength =2 # from enum DISPIDSPTSI
DISPIDSPTSI_ActiveOffset =1 # from enum DISPIDSPTSI
DISPIDSPTSI_SelectionLength =4 # from enum DISPIDSPTSI
DISPIDSPTSI_SelectionOffset =3 # from enum DISPIDSPTSI
DISPID_SABufferInfo =201 # from enum DISPID_SpeechAudio
DISPID_SABufferNotifySize =204 # from enum DISPID_SpeechAudio
DISPID_SADefaultFormat =202 # from enum DISPID_SpeechAudio
DISPID_SAEventHandle =205 # from enum DISPID_SpeechAudio
DISPID_SASetState =206 # from enum DISPID_SpeechAudio
DISPID_SAStatus =200 # from enum DISPID_SpeechAudio
DISPID_SAVolume =203 # from enum DISPID_SpeechAudio
DISPID_SABIBufferSize =2 # from enum DISPID_SpeechAudioBufferInfo
DISPID_SABIEventBias =3 # from enum DISPID_SpeechAudioBufferInfo
DISPID_SABIMinNotification =1 # from enum DISPID_SpeechAudioBufferInfo
DISPID_SAFGetWaveFormatEx =3 # from enum DISPID_SpeechAudioFormat
DISPID_SAFGuid =2 # from enum DISPID_SpeechAudioFormat
DISPID_SAFSetWaveFormatEx =4 # from enum DISPID_SpeechAudioFormat
DISPID_SAFType =1 # from enum DISPID_SpeechAudioFormat
DISPID_SASCurrentDevicePosition=5 # from enum DISPID_SpeechAudioStatus
DISPID_SASCurrentSeekPosition =4 # from enum DISPID_SpeechAudioStatus
DISPID_SASFreeBufferSpace =1 # from enum DISPID_SpeechAudioStatus
DISPID_SASNonBlockingIO =2 # from enum DISPID_SpeechAudioStatus
DISPID_SASState =3 # from enum DISPID_SpeechAudioStatus
DISPID_SBSFormat =1 # from enum DISPID_SpeechBaseStream
DISPID_SBSRead =2 # from enum DISPID_SpeechBaseStream
DISPID_SBSSeek =4 # from enum DISPID_SpeechBaseStream
DISPID_SBSWrite =3 # from enum DISPID_SpeechBaseStream
DISPID_SCSBaseStream =100 # from enum DISPID_SpeechCustomStream
DISPID_SDKCreateKey =8 # from enum DISPID_SpeechDataKey
DISPID_SDKDeleteKey =9 # from enum DISPID_SpeechDataKey
DISPID_SDKDeleteValue =10 # from enum DISPID_SpeechDataKey
DISPID_SDKEnumKeys =11 # from enum DISPID_SpeechDataKey
DISPID_SDKEnumValues =12 # from enum DISPID_SpeechDataKey
DISPID_SDKGetBinaryValue =2 # from enum DISPID_SpeechDataKey
DISPID_SDKGetStringValue =4 # from enum DISPID_SpeechDataKey
DISPID_SDKGetlongValue =6 # from enum DISPID_SpeechDataKey
DISPID_SDKOpenKey =7 # from enum DISPID_SpeechDataKey
DISPID_SDKSetBinaryValue =1 # from enum DISPID_SpeechDataKey
DISPID_SDKSetLongValue =5 # from enum DISPID_SpeechDataKey
DISPID_SDKSetStringValue =3 # from enum DISPID_SpeechDataKey
DISPID_SFSClose =101 # from enum DISPID_SpeechFileStream
DISPID_SFSOpen =100 # from enum DISPID_SpeechFileStream
DISPID_SGRAddResource =6 # from enum DISPID_SpeechGrammarRule
DISPID_SGRAddState =7 # from enum DISPID_SpeechGrammarRule
DISPID_SGRAttributes =1 # from enum DISPID_SpeechGrammarRule
DISPID_SGRClear =5 # from enum DISPID_SpeechGrammarRule
DISPID_SGRId =4 # from enum DISPID_SpeechGrammarRule
DISPID_SGRInitialState =2 # from enum DISPID_SpeechGrammarRule
DISPID_SGRName =3 # from enum DISPID_SpeechGrammarRule
DISPID_SGRSAddRuleTransition =4 # from enum DISPID_SpeechGrammarRuleState
DISPID_SGRSAddSpecialTransition=5 # from enum DISPID_SpeechGrammarRuleState
DISPID_SGRSAddWordTransition =3 # from enum DISPID_SpeechGrammarRuleState
DISPID_SGRSRule =1 # from enum DISPID_SpeechGrammarRuleState
DISPID_SGRSTransitions =2 # from enum DISPID_SpeechGrammarRuleState
DISPID_SGRSTNextState =8 # from enum DISPID_SpeechGrammarRuleStateTransition
DISPID_SGRSTPropertyId =6 # from enum DISPID_SpeechGrammarRuleStateTransition
DISPID_SGRSTPropertyName =5 # from enum DISPID_SpeechGrammarRuleStateTransition
DISPID_SGRSTPropertyValue =7 # from enum DISPID_SpeechGrammarRuleStateTransition
DISPID_SGRSTRule =3 # from enum DISPID_SpeechGrammarRuleStateTransition
DISPID_SGRSTText =2 # from enum DISPID_SpeechGrammarRuleStateTransition
DISPID_SGRSTType =1 # from enum DISPID_SpeechGrammarRuleStateTransition
DISPID_SGRSTWeight =4 # from enum DISPID_SpeechGrammarRuleStateTransition
DISPID_SGRSTsCount =1 # from enum DISPID_SpeechGrammarRuleStateTransitions
DISPID_SGRSTsItem =0 # from enum DISPID_SpeechGrammarRuleStateTransitions
DISPID_SGRSTs_NewEnum =-4 # from enum DISPID_SpeechGrammarRuleStateTransitions
DISPID_SGRsAdd =3 # from enum DISPID_SpeechGrammarRules
DISPID_SGRsCommit =4 # from enum DISPID_SpeechGrammarRules
DISPID_SGRsCommitAndSave =5 # from enum DISPID_SpeechGrammarRules
DISPID_SGRsCount =1 # from enum DISPID_SpeechGrammarRules
DISPID_SGRsDynamic =2 # from enum DISPID_SpeechGrammarRules
DISPID_SGRsFindRule =6 # from enum DISPID_SpeechGrammarRules
DISPID_SGRsItem =0 # from enum DISPID_SpeechGrammarRules
DISPID_SGRs_NewEnum =-4 # from enum DISPID_SpeechGrammarRules
DISPID_SLAddPronunciation =3 # from enum DISPID_SpeechLexicon
DISPID_SLAddPronunciationByPhoneIds=4 # from enum DISPID_SpeechLexicon
DISPID_SLGenerationId =1 # from enum DISPID_SpeechLexicon
DISPID_SLGetGenerationChange =8 # from enum DISPID_SpeechLexicon
DISPID_SLGetPronunciations =7 # from enum DISPID_SpeechLexicon
DISPID_SLGetWords =2 # from enum DISPID_SpeechLexicon
DISPID_SLRemovePronunciation =5 # from enum DISPID_SpeechLexicon
DISPID_SLRemovePronunciationByPhoneIds=6 # from enum DISPID_SpeechLexicon
DISPID_SLPsCount =1 # from enum DISPID_SpeechLexiconProns
DISPID_SLPsItem =0 # from enum DISPID_SpeechLexiconProns
DISPID_SLPs_NewEnum =-4 # from enum DISPID_SpeechLexiconProns
DISPID_SLPLangId =2 # from enum DISPID_SpeechLexiconPronunciation
DISPID_SLPPartOfSpeech =3 # from enum DISPID_SpeechLexiconPronunciation
DISPID_SLPPhoneIds =4 # from enum DISPID_SpeechLexiconPronunciation
DISPID_SLPSymbolic =5 # from enum DISPID_SpeechLexiconPronunciation
DISPID_SLPType =1 # from enum DISPID_SpeechLexiconPronunciation
DISPID_SLWLangId =1 # from enum DISPID_SpeechLexiconWord
DISPID_SLWPronunciations =4 # from enum DISPID_SpeechLexiconWord
DISPID_SLWType =2 # from enum DISPID_SpeechLexiconWord
DISPID_SLWWord =3 # from enum DISPID_SpeechLexiconWord
DISPID_SLWsCount =1 # from enum DISPID_SpeechLexiconWords
DISPID_SLWsItem =0 # from enum DISPID_SpeechLexiconWords
DISPID_SLWs_NewEnum =-4 # from enum DISPID_SpeechLexiconWords
DISPID_SMSADeviceId =300 # from enum DISPID_SpeechMMSysAudio
DISPID_SMSALineId =301 # from enum DISPID_SpeechMMSysAudio
DISPID_SMSAMMHandle =302 # from enum DISPID_SpeechMMSysAudio
DISPID_SMSGetData =101 # from enum DISPID_SpeechMemoryStream
DISPID_SMSSetData =100 # from enum DISPID_SpeechMemoryStream
DISPID_SOTCategory =3 # from enum DISPID_SpeechObjectToken
DISPID_SOTCreateInstance =7 # from enum DISPID_SpeechObjectToken
DISPID_SOTDataKey =2 # from enum DISPID_SpeechObjectToken
DISPID_SOTDisplayUI =12 # from enum DISPID_SpeechObjectToken
DISPID_SOTGetAttribute =6 # from enum DISPID_SpeechObjectToken
DISPID_SOTGetDescription =4 # from enum DISPID_SpeechObjectToken
DISPID_SOTGetStorageFileName =9 # from enum DISPID_SpeechObjectToken
DISPID_SOTId =1 # from enum DISPID_SpeechObjectToken
DISPID_SOTIsUISupported =11 # from enum DISPID_SpeechObjectToken
DISPID_SOTMatchesAttributes =13 # from enum DISPID_SpeechObjectToken
DISPID_SOTRemove =8 # from enum DISPID_SpeechObjectToken
DISPID_SOTRemoveStorageFileName=10 # from enum DISPID_SpeechObjectToken
DISPID_SOTSetId =5 # from enum DISPID_SpeechObjectToken
DISPID_SOTCDefault =2 # from enum DISPID_SpeechObjectTokenCategory
DISPID_SOTCEnumerateTokens =5 # from enum DISPID_SpeechObjectTokenCategory
DISPID_SOTCGetDataKey =4 # from enum DISPID_SpeechObjectTokenCategory
DISPID_SOTCId =1 # from enum DISPID_SpeechObjectTokenCategory
DISPID_SOTCSetId =3 # from enum DISPID_SpeechObjectTokenCategory
DISPID_SOTsCount =1 # from enum DISPID_SpeechObjectTokens
DISPID_SOTsItem =0 # from enum DISPID_SpeechObjectTokens
DISPID_SOTs_NewEnum =-4 # from enum DISPID_SpeechObjectTokens
DISPID_SPCIdToPhone =3 # from enum DISPID_SpeechPhoneConverter
DISPID_SPCLangId =1 # from enum DISPID_SpeechPhoneConverter
DISPID_SPCPhoneToId =2 # from enum DISPID_SpeechPhoneConverter
DISPID_SPACommit =5 # from enum DISPID_SpeechPhraseAlternate
DISPID_SPANumberOfElementsInResult=3 # from enum DISPID_SpeechPhraseAlternate
DISPID_SPAPhraseInfo =4 # from enum DISPID_SpeechPhraseAlternate
DISPID_SPARecoResult =1 # from enum DISPID_SpeechPhraseAlternate
DISPID_SPAStartElementInResult=2 # from enum DISPID_SpeechPhraseAlternate
DISPID_SPAsCount =1 # from enum DISPID_SpeechPhraseAlternates
DISPID_SPAsItem =0 # from enum DISPID_SpeechPhraseAlternates
DISPID_SPAs_NewEnum =-4 # from enum DISPID_SpeechPhraseAlternates
DISPID_SPPBRestorePhraseFromMemory=1 # from enum DISPID_SpeechPhraseBuilder
DISPID_SPEActualConfidence =12 # from enum DISPID_SpeechPhraseElement
DISPID_SPEAudioSizeBytes =4 # from enum DISPID_SpeechPhraseElement
DISPID_SPEAudioSizeTime =2 # from enum DISPID_SpeechPhraseElement
DISPID_SPEAudioStreamOffset =3 # from enum DISPID_SpeechPhraseElement
DISPID_SPEAudioTimeOffset =1 # from enum DISPID_SpeechPhraseElement
DISPID_SPEDisplayAttributes =10 # from enum DISPID_SpeechPhraseElement
DISPID_SPEDisplayText =7 # from enum DISPID_SpeechPhraseElement
DISPID_SPEEngineConfidence =13 # from enum DISPID_SpeechPhraseElement
DISPID_SPELexicalForm =8 # from enum DISPID_SpeechPhraseElement
DISPID_SPEPronunciation =9 # from enum DISPID_SpeechPhraseElement
DISPID_SPERequiredConfidence =11 # from enum DISPID_SpeechPhraseElement
DISPID_SPERetainedSizeBytes =6 # from enum DISPID_SpeechPhraseElement
DISPID_SPERetainedStreamOffset=5 # from enum DISPID_SpeechPhraseElement
DISPID_SPEsCount =1 # from enum DISPID_SpeechPhraseElements
DISPID_SPEsItem =0 # from enum DISPID_SpeechPhraseElements
DISPID_SPEs_NewEnum =-4 # from enum DISPID_SpeechPhraseElements
DISPID_SPIAudioSizeBytes =5 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIAudioSizeTime =7 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIAudioStreamPosition =4 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIElements =10 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIEngineId =12 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIEnginePrivateData =13 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIGetDisplayAttributes=16 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIGetText =15 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIGrammarId =2 # from enum DISPID_SpeechPhraseInfo
DISPID_SPILanguageId =1 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIProperties =9 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIReplacements =11 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIRetainedSizeBytes =6 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIRule =8 # from enum DISPID_SpeechPhraseInfo
DISPID_SPISaveToMemory =14 # from enum DISPID_SpeechPhraseInfo
DISPID_SPIStartTime =3 # from enum DISPID_SpeechPhraseInfo
DISPID_SPPsCount =1 # from enum DISPID_SpeechPhraseProperties
DISPID_SPPsItem =0 # from enum DISPID_SpeechPhraseProperties
DISPID_SPPs_NewEnum =-4 # from enum DISPID_SpeechPhraseProperties
DISPID_SPPChildren =9 # from enum DISPID_SpeechPhraseProperty
DISPID_SPPConfidence =7 # from enum DISPID_SpeechPhraseProperty
DISPID_SPPEngineConfidence =6 # from enum DISPID_SpeechPhraseProperty
DISPID_SPPFirstElement =4 # from enum DISPID_SpeechPhraseProperty
DISPID_SPPId =2 # from enum DISPID_SpeechPhraseProperty
DISPID_SPPName =1 # from enum DISPID_SpeechPhraseProperty
DISPID_SPPNumberOfElements =5 # from enum DISPID_SpeechPhraseProperty
DISPID_SPPParent =8 # from enum DISPID_SpeechPhraseProperty
DISPID_SPPValue =3 # from enum DISPID_SpeechPhraseProperty
DISPID_SPRDisplayAttributes =1 # from enum DISPID_SpeechPhraseReplacement
DISPID_SPRFirstElement =3 # from enum DISPID_SpeechPhraseReplacement
DISPID_SPRNumberOfElements =4 # from enum DISPID_SpeechPhraseReplacement
DISPID_SPRText =2 # from enum DISPID_SpeechPhraseReplacement
DISPID_SPRsCount =1 # from enum DISPID_SpeechPhraseReplacements
DISPID_SPRsItem =0 # from enum DISPID_SpeechPhraseReplacements
DISPID_SPRs_NewEnum =-4 # from enum DISPID_SpeechPhraseReplacements
DISPID_SPRuleChildren =6 # from enum DISPID_SpeechPhraseRule
DISPID_SPRuleConfidence =7 # from enum DISPID_SpeechPhraseRule
DISPID_SPRuleEngineConfidence =8 # from enum DISPID_SpeechPhraseRule
DISPID_SPRuleFirstElement =3 # from enum DISPID_SpeechPhraseRule
DISPID_SPRuleId =2 # from enum DISPID_SpeechPhraseRule
DISPID_SPRuleName =1 # from enum DISPID_SpeechPhraseRule
DISPID_SPRuleNumberOfElements =4 # from enum DISPID_SpeechPhraseRule
DISPID_SPRuleParent =5 # from enum DISPID_SpeechPhraseRule
DISPID_SPRulesCount =1 # from enum DISPID_SpeechPhraseRules
DISPID_SPRulesItem =0 # from enum DISPID_SpeechPhraseRules
DISPID_SPRules_NewEnum =-4 # from enum DISPID_SpeechPhraseRules
DISPID_SRAllowVoiceFormatMatchingOnNextSet=5 # from enum DISPID_SpeechRecoContext
DISPID_SRCAudioInInterferenceStatus=2 # from enum DISPID_SpeechRecoContext
DISPID_SRCBookmark =16 # from enum DISPID_SpeechRecoContext
DISPID_SRCCmdMaxAlternates =8 # from enum DISPID_SpeechRecoContext
DISPID_SRCCreateGrammar =14 # from enum DISPID_SpeechRecoContext
DISPID_SRCCreateResultFromMemory=15 # from enum DISPID_SpeechRecoContext
DISPID_SRCEventInterests =7 # from enum DISPID_SpeechRecoContext
DISPID_SRCPause =12 # from enum DISPID_SpeechRecoContext
DISPID_SRCRecognizer =1 # from enum DISPID_SpeechRecoContext
DISPID_SRCRequestedUIType =3 # from enum DISPID_SpeechRecoContext
DISPID_SRCResume =13 # from enum DISPID_SpeechRecoContext
DISPID_SRCRetainedAudio =10 # from enum DISPID_SpeechRecoContext
DISPID_SRCRetainedAudioFormat =11 # from enum DISPID_SpeechRecoContext
DISPID_SRCSetAdaptationData =17 # from enum DISPID_SpeechRecoContext
DISPID_SRCState =9 # from enum DISPID_SpeechRecoContext
DISPID_SRCVoice =4 # from enum DISPID_SpeechRecoContext
DISPID_SRCVoicePurgeEvent =6 # from enum DISPID_SpeechRecoContext
DISPID_SRCEAdaptation =15 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEAudioLevel =17 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEBookmark =3 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEEndStream =2 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEEnginePrivate =18 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEFalseRecognition =11 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEHypothesis =8 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEInterference =12 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEPhraseStart =6 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEPropertyNumberChange=9 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEPropertyStringChange=10 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCERecognition =7 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCERecognitionForOtherContext=16 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCERecognizerStateChange=14 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCERequestUI =13 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCESoundEnd =5 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCESoundStart =4 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRCEStartStream =1 # from enum DISPID_SpeechRecoContextEvents
DISPID_SRRAlternates =5 # from enum DISPID_SpeechRecoResult
DISPID_SRRAudio =6 # from enum DISPID_SpeechRecoResult
DISPID_SRRAudioFormat =3 # from enum DISPID_SpeechRecoResult
DISPID_SRRDiscardResultInfo =9 # from enum DISPID_SpeechRecoResult
DISPID_SRRPhraseInfo =4 # from enum DISPID_SpeechRecoResult
DISPID_SRRRecoContext =1 # from enum DISPID_SpeechRecoResult
DISPID_SRRSaveToMemory =8 # from enum DISPID_SpeechRecoResult
DISPID_SRRSpeakAudio =7 # from enum DISPID_SpeechRecoResult
DISPID_SRRTimes =2 # from enum DISPID_SpeechRecoResult
DISPID_SRRSetTextFeedback =12 # from enum DISPID_SpeechRecoResult2
DISPID_SRRTLength =2 # from enum DISPID_SpeechRecoResultTimes
DISPID_SRRTOffsetFromStart =4 # from enum DISPID_SpeechRecoResultTimes
DISPID_SRRTStreamTime =1 # from enum DISPID_SpeechRecoResultTimes
DISPID_SRRTTickCount =3 # from enum DISPID_SpeechRecoResultTimes
DISPID_SRAllowAudioInputFormatChangesOnNextSet=2 # from enum DISPID_SpeechRecognizer
DISPID_SRAudioInput =3 # from enum DISPID_SpeechRecognizer
DISPID_SRAudioInputStream =4 # from enum DISPID_SpeechRecognizer
DISPID_SRCreateRecoContext =10 # from enum DISPID_SpeechRecognizer
DISPID_SRDisplayUI =17 # from enum DISPID_SpeechRecognizer
DISPID_SREmulateRecognition =9 # from enum DISPID_SpeechRecognizer
DISPID_SRGetFormat =11 # from enum DISPID_SpeechRecognizer
DISPID_SRGetPropertyNumber =13 # from enum DISPID_SpeechRecognizer
DISPID_SRGetPropertyString =15 # from enum DISPID_SpeechRecognizer
DISPID_SRGetRecognizers =18 # from enum DISPID_SpeechRecognizer
DISPID_SRIsShared =5 # from enum DISPID_SpeechRecognizer
DISPID_SRIsUISupported =16 # from enum DISPID_SpeechRecognizer
DISPID_SRProfile =8 # from enum DISPID_SpeechRecognizer
DISPID_SRRecognizer =1 # from enum DISPID_SpeechRecognizer
DISPID_SRSetPropertyNumber =12 # from enum DISPID_SpeechRecognizer
DISPID_SRSetPropertyString =14 # from enum DISPID_SpeechRecognizer
DISPID_SRState =6 # from enum DISPID_SpeechRecognizer
DISPID_SRStatus =7 # from enum DISPID_SpeechRecognizer
DISPID_SVGetAudioInputs =19 # from enum DISPID_SpeechRecognizer
DISPID_SVGetProfiles =20 # from enum DISPID_SpeechRecognizer
DISPID_SRSAudioStatus =1 # from enum DISPID_SpeechRecognizerStatus
DISPID_SRSClsidEngine =5 # from enum DISPID_SpeechRecognizerStatus
DISPID_SRSCurrentStreamNumber =3 # from enum DISPID_SpeechRecognizerStatus
DISPID_SRSCurrentStreamPosition=2 # from enum DISPID_SpeechRecognizerStatus
DISPID_SRSNumberOfActiveRules =4 # from enum DISPID_SpeechRecognizerStatus
DISPID_SRSSupportedLanguages =6 # from enum DISPID_SpeechRecognizerStatus
DISPID_SVAlertBoundary =10 # from enum DISPID_SpeechVoice
DISPID_SVAllowAudioOuputFormatChangesOnNextSet=7 # from enum DISPID_SpeechVoice
DISPID_SVAudioOutput =3 # from enum DISPID_SpeechVoice
DISPID_SVAudioOutputStream =4 # from enum DISPID_SpeechVoice
DISPID_SVDisplayUI =22 # from enum DISPID_SpeechVoice
DISPID_SVEventInterests =8 # from enum DISPID_SpeechVoice
DISPID_SVGetAudioOutputs =18 # from enum DISPID_SpeechVoice
DISPID_SVGetVoices =17 # from enum DISPID_SpeechVoice
DISPID_SVIsUISupported =21 # from enum DISPID_SpeechVoice
DISPID_SVPause =14 # from enum DISPID_SpeechVoice
DISPID_SVPriority =9 # from enum DISPID_SpeechVoice
DISPID_SVRate =5 # from enum DISPID_SpeechVoice
DISPID_SVResume =15 # from enum DISPID_SpeechVoice
DISPID_SVSkip =16 # from enum DISPID_SpeechVoice
DISPID_SVSpeak =12 # from enum DISPID_SpeechVoice
DISPID_SVSpeakCompleteEvent =20 # from enum DISPID_SpeechVoice
DISPID_SVSpeakStream =13 # from enum DISPID_SpeechVoice
DISPID_SVStatus =1 # from enum DISPID_SpeechVoice
DISPID_SVSyncronousSpeakTimeout=11 # from enum DISPID_SpeechVoice
DISPID_SVVoice =2 # from enum DISPID_SpeechVoice
DISPID_SVVolume =6 # from enum DISPID_SpeechVoice
DISPID_SVWaitUntilDone =19 # from enum DISPID_SpeechVoice
DISPID_SVEAudioLevel =9 # from enum DISPID_SpeechVoiceEvent
DISPID_SVEBookmark =4 # from enum DISPID_SpeechVoiceEvent
DISPID_SVEEnginePrivate =10 # from enum DISPID_SpeechVoiceEvent
DISPID_SVEPhoneme =6 # from enum DISPID_SpeechVoiceEvent
DISPID_SVESentenceBoundary =7 # from enum DISPID_SpeechVoiceEvent
DISPID_SVEStreamEnd =2 # from enum DISPID_SpeechVoiceEvent
DISPID_SVEStreamStart =1 # from enum DISPID_SpeechVoiceEvent
DISPID_SVEViseme =8 # from enum DISPID_SpeechVoiceEvent
DISPID_SVEVoiceChange =3 # from enum DISPID_SpeechVoiceEvent
DISPID_SVEWord =5 # from enum DISPID_SpeechVoiceEvent
DISPID_SVSCurrentStreamNumber =1 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSInputSentenceLength =8 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSInputSentencePosition=7 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSInputWordLength =6 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSInputWordPosition =5 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSLastBookmark =9 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSLastBookmarkId =10 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSLastResult =3 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSLastStreamNumberQueued=2 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSPhonemeId =11 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSRunningState =4 # from enum DISPID_SpeechVoiceStatus
DISPID_SVSVisemeId =12 # from enum DISPID_SpeechVoiceStatus
DISPID_SWFEAvgBytesPerSec =4 # from enum DISPID_SpeechWaveFormatEx
DISPID_SWFEBitsPerSample =6 # from enum DISPID_SpeechWaveFormatEx
DISPID_SWFEBlockAlign =5 # from enum DISPID_SpeechWaveFormatEx
DISPID_SWFEChannels =2 # from enum DISPID_SpeechWaveFormatEx
DISPID_SWFEExtraData =7 # from enum DISPID_SpeechWaveFormatEx
DISPID_SWFEFormatTag =1 # from enum DISPID_SpeechWaveFormatEx
DISPID_SWFESamplesPerSec =3 # from enum DISPID_SpeechWaveFormatEx
DISPID_SRRGetXMLErrorInfo =11 # from enum DISPID_SpeechXMLRecoResult
DISPID_SRRGetXMLResult =10 # from enum DISPID_SpeechXMLRecoResult
SPAR_High =3 # from enum SPADAPTATIONRELEVANCE
SPAR_Low =1 # from enum SPADAPTATIONRELEVANCE
SPAR_Medium =2 # from enum SPADAPTATIONRELEVANCE
SPAR_Unknown =0 # from enum SPADAPTATIONRELEVANCE
SPAO_NONE =0 # from enum SPAUDIOOPTIONS
SPAO_RETAIN_AUDIO =1 # from enum SPAUDIOOPTIONS
SPBO_AHEAD =2 # from enum SPBOOKMARKOPTIONS
SPBO_NONE =0 # from enum SPBOOKMARKOPTIONS
SPBO_PAUSE =1 # from enum SPBOOKMARKOPTIONS
SPBO_TIME_UNITS =4 # from enum SPBOOKMARKOPTIONS
SPCT_COMMAND =0 # from enum SPCATEGORYTYPE
SPCT_DICTATION =1 # from enum SPCATEGORYTYPE
SPCT_SLEEP =2 # from enum SPCATEGORYTYPE
SPCT_SUB_COMMAND =3 # from enum SPCATEGORYTYPE
SPCT_SUB_DICTATION =4 # from enum SPCATEGORYTYPE
SPCS_DISABLED =0 # from enum SPCONTEXTSTATE
SPCS_ENABLED =1 # from enum SPCONTEXTSTATE
SPDKL_CurrentConfig =5 # from enum SPDATAKEYLOCATION
SPDKL_CurrentUser =1 # from enum SPDATAKEYLOCATION
SPDKL_DefaultLocation =0 # from enum SPDATAKEYLOCATION
SPDKL_LocalMachine =2 # from enum SPDATAKEYLOCATION
SPEI_ACTIVE_CATEGORY_CHANGED =53 # from enum SPEVENTENUM
SPEI_ADAPTATION =47 # from enum SPEVENTENUM
SPEI_END_INPUT_STREAM =2 # from enum SPEVENTENUM
SPEI_END_SR_STREAM =34 # from enum SPEVENTENUM
SPEI_FALSE_RECOGNITION =43 # from enum SPEVENTENUM
SPEI_HYPOTHESIS =39 # from enum SPEVENTENUM
SPEI_INTERFERENCE =44 # from enum SPEVENTENUM
SPEI_MAX_SR =55 # from enum SPEVENTENUM
SPEI_MAX_TTS =15 # from enum SPEVENTENUM
SPEI_MIN_SR =34 # from enum SPEVENTENUM
SPEI_MIN_TTS =1 # from enum SPEVENTENUM
SPEI_PHONEME =6 # from enum SPEVENTENUM
SPEI_PHRASE_START =37 # from enum SPEVENTENUM
SPEI_PROPERTY_NUM_CHANGE =41 # from enum SPEVENTENUM
SPEI_PROPERTY_STRING_CHANGE =42 # from enum SPEVENTENUM
SPEI_RECOGNITION =38 # from enum SPEVENTENUM
SPEI_RECO_OTHER_CONTEXT =49 # from enum SPEVENTENUM
SPEI_RECO_STATE_CHANGE =46 # from enum SPEVENTENUM
SPEI_REQUEST_UI =45 # from enum SPEVENTENUM
SPEI_RESERVED1 =30 # from enum SPEVENTENUM
SPEI_RESERVED2 =33 # from enum SPEVENTENUM
SPEI_RESERVED3 =63 # from enum SPEVENTENUM
SPEI_RESERVED5 =54 # from enum SPEVENTENUM
SPEI_RESERVED6 =55 # from enum SPEVENTENUM
SPEI_SENTENCE_BOUNDARY =7 # from enum SPEVENTENUM
SPEI_SOUND_END =36 # from enum SPEVENTENUM
SPEI_SOUND_START =35 # from enum SPEVENTENUM
SPEI_SR_AUDIO_LEVEL =50 # from enum SPEVENTENUM
SPEI_SR_BOOKMARK =40 # from enum SPEVENTENUM
SPEI_SR_PRIVATE =52 # from enum SPEVENTENUM
SPEI_SR_RETAINEDAUDIO =51 # from enum SPEVENTENUM
SPEI_START_INPUT_STREAM =1 # from enum SPEVENTENUM
SPEI_START_SR_STREAM =48 # from enum SPEVENTENUM
SPEI_TTS_AUDIO_LEVEL =9 # from enum SPEVENTENUM
SPEI_TTS_BOOKMARK =4 # from enum SPEVENTENUM
SPEI_TTS_PRIVATE =15 # from enum SPEVENTENUM
SPEI_UNDEFINED =0 # from enum SPEVENTENUM
SPEI_VISEME =8 # from enum SPEVENTENUM
SPEI_VOICE_CHANGE =3 # from enum SPEVENTENUM
SPEI_WORD_BOUNDARY =5 # from enum SPEVENTENUM
SPFM_CREATE =2 # from enum SPFILEMODE
SPFM_CREATE_ALWAYS =3 # from enum SPFILEMODE
SPFM_NUM_MODES =4 # from enum SPFILEMODE
SPFM_OPEN_READONLY =0 # from enum SPFILEMODE
SPFM_OPEN_READWRITE =1 # from enum SPFILEMODE
SPGS_DISABLED =0 # from enum SPGRAMMARSTATE
SPGS_ENABLED =1 # from enum SPGRAMMARSTATE
SPGS_EXCLUSIVE =3 # from enum SPGRAMMARSTATE
SPWT_DISPLAY =0 # from enum SPGRAMMARWORDTYPE
SPWT_LEXICAL =1 # from enum SPGRAMMARWORDTYPE
SPWT_LEXICAL_NO_SPECIAL_CHARS =3 # from enum SPGRAMMARWORDTYPE
SPWT_PRONUNCIATION =2 # from enum SPGRAMMARWORDTYPE
SPINTERFERENCE_LATENCY_TRUNCATE_BEGIN=8 # from enum SPINTERFERENCE
SPINTERFERENCE_LATENCY_TRUNCATE_END=9 # from enum SPINTERFERENCE
SPINTERFERENCE_LATENCY_WARNING=7 # from enum SPINTERFERENCE
SPINTERFERENCE_NOISE =1 # from enum SPINTERFERENCE
SPINTERFERENCE_NONE =0 # from enum SPINTERFERENCE
SPINTERFERENCE_NOSIGNAL =2 # from enum SPINTERFERENCE
SPINTERFERENCE_TOOFAST =5 # from enum SPINTERFERENCE
SPINTERFERENCE_TOOLOUD =3 # from enum SPINTERFERENCE
SPINTERFERENCE_TOOQUIET =4 # from enum SPINTERFERENCE
SPINTERFERENCE_TOOSLOW =6 # from enum SPINTERFERENCE
eLEXTYPE_APP =2 # from enum SPLEXICONTYPE
eLEXTYPE_LETTERTOSOUND =8 # from enum SPLEXICONTYPE
eLEXTYPE_MORPHOLOGY =16 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE1 =4096 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE10 =2097152 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE11 =4194304 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE12 =8388608 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE13 =16777216 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE14 =33554432 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE15 =67108864 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE16 =134217728 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE17 =268435456 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE18 =536870912 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE19 =1073741824 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE2 =8192 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE20 =-2147483648 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE3 =16384 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE4 =32768 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE5 =65536 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE6 =131072 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE7 =262144 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE8 =524288 # from enum SPLEXICONTYPE
eLEXTYPE_PRIVATE9 =1048576 # from enum SPLEXICONTYPE
eLEXTYPE_RESERVED10 =2048 # from enum SPLEXICONTYPE
eLEXTYPE_RESERVED4 =32 # from enum SPLEXICONTYPE
eLEXTYPE_RESERVED6 =128 # from enum SPLEXICONTYPE
eLEXTYPE_RESERVED7 =256 # from enum SPLEXICONTYPE
eLEXTYPE_RESERVED8 =512 # from enum SPLEXICONTYPE
eLEXTYPE_RESERVED9 =1024 # from enum SPLEXICONTYPE
eLEXTYPE_USER =1 # from enum SPLEXICONTYPE
eLEXTYPE_USER_SHORTCUT =64 # from enum SPLEXICONTYPE
eLEXTYPE_VENDORLEXICON =4 # from enum SPLEXICONTYPE
SPLO_DYNAMIC =1 # from enum SPLOADOPTIONS
SPLO_STATIC =0 # from enum SPLOADOPTIONS
SPPS_Function =16384 # from enum SPPARTOFSPEECH
SPPS_Interjection =20480 # from enum SPPARTOFSPEECH
SPPS_LMA =28672 # from enum SPPARTOFSPEECH
SPPS_Modifier =12288 # from enum SPPARTOFSPEECH
SPPS_Noncontent =24576 # from enum SPPARTOFSPEECH
SPPS_NotOverriden =-1 # from enum SPPARTOFSPEECH
SPPS_Noun =4096 # from enum SPPARTOFSPEECH
SPPS_SuppressWord =61440 # from enum SPPARTOFSPEECH
SPPS_Unknown =0 # from enum SPPARTOFSPEECH
SPPS_Verb =8192 # from enum SPPARTOFSPEECH
SPRST_ACTIVE =1 # from enum SPRECOSTATE
SPRST_ACTIVE_ALWAYS =2 # from enum SPRECOSTATE
SPRST_INACTIVE =0 # from enum SPRECOSTATE
SPRST_INACTIVE_WITH_PURGE =3 # from enum SPRECOSTATE
SPRST_NUM_STATES =4 # from enum SPRECOSTATE
SPRS_ACTIVE =1 # from enum SPRULESTATE
SPRS_ACTIVE_USER_DELIMITED =4 # from enum SPRULESTATE
SPRS_ACTIVE_WITH_AUTO_PAUSE =3 # from enum SPRULESTATE
SPRS_INACTIVE =0 # from enum SPRULESTATE
SPSMF_SAPI_PROPERTIES =0 # from enum SPSEMANTICFORMAT
SPSMF_SRGS_SAPIPROPERTIES =2 # from enum SPSEMANTICFORMAT
SPSMF_SRGS_SEMANTICINTERPRETATION_MS=1 # from enum SPSEMANTICFORMAT
SPSMF_SRGS_SEMANTICINTERPRETATION_W3C=8 # from enum SPSEMANTICFORMAT
SPSMF_UPS =4 # from enum SPSEMANTICFORMAT
SPPS_RESERVED1 =12288 # from enum SPSHORTCUTTYPE
SPPS_RESERVED2 =16384 # from enum SPSHORTCUTTYPE
SPPS_RESERVED3 =20480 # from enum SPSHORTCUTTYPE
SPPS_RESERVED4 =61440 # from enum SPSHORTCUTTYPE
SPSHT_EMAIL =4096 # from enum SPSHORTCUTTYPE
SPSHT_NotOverriden =-1 # from enum SPSHORTCUTTYPE
SPSHT_OTHER =8192 # from enum SPSHORTCUTTYPE
SPSHT_Unknown =0 # from enum SPSHORTCUTTYPE
SP_VISEME_0 =0 # from enum SPVISEMES
SP_VISEME_1 =1 # from enum SPVISEMES
SP_VISEME_10 =10 # from enum SPVISEMES
SP_VISEME_11 =11 # from enum SPVISEMES
SP_VISEME_12 =12 # from enum SPVISEMES
SP_VISEME_13 =13 # from enum SPVISEMES
SP_VISEME_14 =14 # from enum SPVISEMES
SP_VISEME_15 =15 # from enum SPVISEMES
SP_VISEME_16 =16 # from enum SPVISEMES
SP_VISEME_17 =17 # from enum SPVISEMES
SP_VISEME_18 =18 # from enum SPVISEMES
SP_VISEME_19 =19 # from enum SPVISEMES
SP_VISEME_2 =2 # from enum SPVISEMES
SP_VISEME_20 =20 # from enum SPVISEMES
SP_VISEME_21 =21 # from enum SPVISEMES
SP_VISEME_3 =3 # from enum SPVISEMES
SP_VISEME_4 =4 # from enum SPVISEMES
SP_VISEME_5 =5 # from enum SPVISEMES
SP_VISEME_6 =6 # from enum SPVISEMES
SP_VISEME_7 =7 # from enum SPVISEMES
SP_VISEME_8 =8 # from enum SPVISEMES
SP_VISEME_9 =9 # from enum SPVISEMES
SPVPRI_ALERT =1 # from enum SPVPRIORITY
SPVPRI_NORMAL =0 # from enum SPVPRIORITY
SPVPRI_OVER =2 # from enum SPVPRIORITY
SPWF_INPUT =0 # from enum SPWAVEFORMATTYPE
SPWF_SRENGINE =1 # from enum SPWAVEFORMATTYPE
SPWP_KNOWN_WORD_PRONOUNCEABLE =2 # from enum SPWORDPRONOUNCEABLE
SPWP_UNKNOWN_WORD_PRONOUNCEABLE=1 # from enum SPWORDPRONOUNCEABLE
SPWP_UNKNOWN_WORD_UNPRONOUNCEABLE=0 # from enum SPWORDPRONOUNCEABLE
eWORDTYPE_ADDED =1 # from enum SPWORDTYPE
eWORDTYPE_DELETED =2 # from enum SPWORDTYPE
SPXRO_Alternates_SML =1 # from enum SPXMLRESULTOPTIONS
SPXRO_SML =0 # from enum SPXMLRESULTOPTIONS
SAFT11kHz16BitMono =10 # from enum SpeechAudioFormatType
SAFT11kHz16BitStereo =11 # from enum SpeechAudioFormatType
SAFT11kHz8BitMono =8 # from enum SpeechAudioFormatType
SAFT11kHz8BitStereo =9 # from enum SpeechAudioFormatType
SAFT12kHz16BitMono =14 # from enum SpeechAudioFormatType
SAFT12kHz16BitStereo =15 # from enum SpeechAudioFormatType
SAFT12kHz8BitMono =12 # from enum SpeechAudioFormatType
SAFT12kHz8BitStereo =13 # from enum SpeechAudioFormatType
SAFT16kHz16BitMono =18 # from enum SpeechAudioFormatType
SAFT16kHz16BitStereo =19 # from enum SpeechAudioFormatType
SAFT16kHz8BitMono =16 # from enum SpeechAudioFormatType
SAFT16kHz8BitStereo =17 # from enum SpeechAudioFormatType
SAFT22kHz16BitMono =22 # from enum SpeechAudioFormatType
SAFT22kHz16BitStereo =23 # from enum SpeechAudioFormatType
SAFT22kHz8BitMono =20 # from enum SpeechAudioFormatType
SAFT22kHz8BitStereo =21 # from enum SpeechAudioFormatType
SAFT24kHz16BitMono =26 # from enum SpeechAudioFormatType
SAFT24kHz16BitStereo =27 # from enum SpeechAudioFormatType
SAFT24kHz8BitMono =24 # from enum SpeechAudioFormatType
SAFT24kHz8BitStereo =25 # from enum SpeechAudioFormatType
SAFT32kHz16BitMono =30 # from enum SpeechAudioFormatType
SAFT32kHz16BitStereo =31 # from enum SpeechAudioFormatType
SAFT32kHz8BitMono =28 # from enum SpeechAudioFormatType
SAFT32kHz8BitStereo =29 # from enum SpeechAudioFormatType
SAFT44kHz16BitMono =34 # from enum SpeechAudioFormatType
SAFT44kHz16BitStereo =35 # from enum SpeechAudioFormatType
SAFT44kHz8BitMono =32 # from enum SpeechAudioFormatType
SAFT44kHz8BitStereo =33 # from enum SpeechAudioFormatType
SAFT48kHz16BitMono =38 # from enum SpeechAudioFormatType
SAFT48kHz16BitStereo =39 # from enum SpeechAudioFormatType
SAFT48kHz8BitMono =36 # from enum SpeechAudioFormatType
SAFT48kHz8BitStereo =37 # from enum SpeechAudioFormatType
SAFT8kHz16BitMono =6 # from enum SpeechAudioFormatType
SAFT8kHz16BitStereo =7 # from enum SpeechAudioFormatType
SAFT8kHz8BitMono =4 # from enum SpeechAudioFormatType
SAFT8kHz8BitStereo =5 # from enum SpeechAudioFormatType
SAFTADPCM_11kHzMono =59 # from enum SpeechAudioFormatType
SAFTADPCM_11kHzStereo =60 # from enum SpeechAudioFormatType
SAFTADPCM_22kHzMono =61 # from enum SpeechAudioFormatType
SAFTADPCM_22kHzStereo =62 # from enum SpeechAudioFormatType
SAFTADPCM_44kHzMono =63 # from enum SpeechAudioFormatType
SAFTADPCM_44kHzStereo =64 # from enum SpeechAudioFormatType
SAFTADPCM_8kHzMono =57 # from enum SpeechAudioFormatType
SAFTADPCM_8kHzStereo =58 # from enum SpeechAudioFormatType
SAFTCCITT_ALaw_11kHzMono =43 # from enum SpeechAudioFormatType
SAFTCCITT_ALaw_11kHzStereo =44 # from enum SpeechAudioFormatType
SAFTCCITT_ALaw_22kHzMono =45 # from enum SpeechAudioFormatType
SAFTCCITT_ALaw_22kHzStereo =46 # from enum SpeechAudioFormatType
SAFTCCITT_ALaw_44kHzMono =47 # from enum SpeechAudioFormatType
SAFTCCITT_ALaw_44kHzStereo =48 # from enum SpeechAudioFormatType
SAFTCCITT_ALaw_8kHzMono =41 # from enum SpeechAudioFormatType
SAFTCCITT_ALaw_8kHzStereo =42 # from enum SpeechAudioFormatType
SAFTCCITT_uLaw_11kHzMono =51 # from enum SpeechAudioFormatType
SAFTCCITT_uLaw_11kHzStereo =52 # from enum SpeechAudioFormatType
SAFTCCITT_uLaw_22kHzMono =53 # from enum SpeechAudioFormatType
SAFTCCITT_uLaw_22kHzStereo =54 # from enum SpeechAudioFormatType
SAFTCCITT_uLaw_44kHzMono =55 # from enum SpeechAudioFormatType
SAFTCCITT_uLaw_44kHzStereo =56 # from enum SpeechAudioFormatType
SAFTCCITT_uLaw_8kHzMono =49 # from enum SpeechAudioFormatType
SAFTCCITT_uLaw_8kHzStereo =50 # from enum SpeechAudioFormatType
SAFTDefault =-1 # from enum SpeechAudioFormatType
SAFTExtendedAudioFormat =3 # from enum SpeechAudioFormatType
SAFTGSM610_11kHzMono =66 # from enum SpeechAudioFormatType
SAFTGSM610_22kHzMono =67 # from enum SpeechAudioFormatType
SAFTGSM610_44kHzMono =68 # from enum SpeechAudioFormatType
SAFTGSM610_8kHzMono =65 # from enum SpeechAudioFormatType
SAFTNoAssignedFormat =0 # from enum SpeechAudioFormatType
SAFTNonStandardFormat =2 # from enum SpeechAudioFormatType
SAFTText =1 # from enum SpeechAudioFormatType
SAFTTrueSpeech_8kHz1BitMono =40 # from enum SpeechAudioFormatType
SASClosed =0 # from enum SpeechAudioState
SASPause =2 # from enum SpeechAudioState
SASRun =3 # from enum SpeechAudioState
SASStop =1 # from enum SpeechAudioState
SBONone =0 # from enum SpeechBookmarkOptions
SBOPause =1 # from enum SpeechBookmarkOptions
SpeechAllElements =-1 # from enum SpeechConstants
Speech_Default_Weight =1.0 # from enum SpeechConstants
Speech_Max_Pron_Length =384 # from enum SpeechConstants
Speech_Max_Word_Length =128 # from enum SpeechConstants
Speech_StreamPos_Asap =0 # from enum SpeechConstants
Speech_StreamPos_RealTime =-1 # from enum SpeechConstants
SDKLCurrentConfig =5 # from enum SpeechDataKeyLocation
SDKLCurrentUser =1 # from enum SpeechDataKeyLocation
SDKLDefaultLocation =0 # from enum SpeechDataKeyLocation
SDKLLocalMachine =2 # from enum SpeechDataKeyLocation
SDTAll =255 # from enum SpeechDiscardType
SDTAlternates =128 # from enum SpeechDiscardType
SDTAudio =64 # from enum SpeechDiscardType
SDTDisplayText =8 # from enum SpeechDiscardType
SDTLexicalForm =16 # from enum SpeechDiscardType
SDTPronunciation =32 # from enum SpeechDiscardType
SDTProperty =1 # from enum SpeechDiscardType
SDTReplacement =2 # from enum SpeechDiscardType
SDTRule =4 # from enum SpeechDiscardType
SDA_Consume_Leading_Spaces =8 # from enum SpeechDisplayAttributes
SDA_No_Trailing_Space =0 # from enum SpeechDisplayAttributes
SDA_One_Trailing_Space =2 # from enum SpeechDisplayAttributes
SDA_Two_Trailing_Spaces =4 # from enum SpeechDisplayAttributes
SECFDefault =196609 # from enum SpeechEmulationCompareFlags
SECFEmulateResult =1073741824 # from enum SpeechEmulationCompareFlags
SECFIgnoreCase =1 # from enum SpeechEmulationCompareFlags
SECFIgnoreKanaType =65536 # from enum SpeechEmulationCompareFlags
SECFIgnoreWidth =131072 # from enum SpeechEmulationCompareFlags
SECFNoSpecialChars =536870912 # from enum SpeechEmulationCompareFlags
SECHighConfidence =1 # from enum SpeechEngineConfidence
SECLowConfidence =-1 # from enum SpeechEngineConfidence
SECNormalConfidence =0 # from enum SpeechEngineConfidence
SFTInput =0 # from enum SpeechFormatType
SFTSREngine =1 # from enum SpeechFormatType
SGRSTTDictation =3 # from enum SpeechGrammarRuleStateTransitionType
SGRSTTEpsilon =0 # from enum SpeechGrammarRuleStateTransitionType
SGRSTTRule =2 # from enum SpeechGrammarRuleStateTransitionType
SGRSTTTextBuffer =5 # from enum SpeechGrammarRuleStateTransitionType
SGRSTTWildcard =4 # from enum SpeechGrammarRuleStateTransitionType
SGRSTTWord =1 # from enum SpeechGrammarRuleStateTransitionType
SGSDisabled =0 # from enum SpeechGrammarState
SGSEnabled =1 # from enum SpeechGrammarState
SGSExclusive =3 # from enum SpeechGrammarState
SGDisplay =0 # from enum SpeechGrammarWordType
SGLexical =1 # from enum SpeechGrammarWordType
SGLexicalNoSpecialChars =3 # from enum SpeechGrammarWordType
SGPronounciation =2 # from enum SpeechGrammarWordType
SINoSignal =2 # from enum SpeechInterference
SINoise =1 # from enum SpeechInterference
SINone =0 # from enum SpeechInterference
SITooFast =5 # from enum SpeechInterference
SITooLoud =3 # from enum SpeechInterference
SITooQuiet =4 # from enum SpeechInterference
SITooSlow =6 # from enum SpeechInterference
SLTApp =2 # from enum SpeechLexiconType
SLTUser =1 # from enum SpeechLexiconType
SLODynamic =1 # from enum SpeechLoadOption
SLOStatic =0 # from enum SpeechLoadOption
SPSFunction =16384 # from enum SpeechPartOfSpeech
SPSInterjection =20480 # from enum SpeechPartOfSpeech
SPSLMA =28672 # from enum SpeechPartOfSpeech
SPSModifier =12288 # from enum SpeechPartOfSpeech
SPSNotOverriden =-1 # from enum SpeechPartOfSpeech
SPSNoun =4096 # from enum SpeechPartOfSpeech
SPSSuppressWord =61440 # from enum SpeechPartOfSpeech
SPSUnknown =0 # from enum SpeechPartOfSpeech
SPSVerb =8192 # from enum SpeechPartOfSpeech
SRCS_Disabled =0 # from enum SpeechRecoContextState
SRCS_Enabled =1 # from enum SpeechRecoContextState
SREAdaptation =8192 # from enum SpeechRecoEvents
SREAllEvents =393215 # from enum SpeechRecoEvents
SREAudioLevel =65536 # from enum SpeechRecoEvents
SREBookmark =64 # from enum SpeechRecoEvents
SREFalseRecognition =512 # from enum SpeechRecoEvents
SREHypothesis =32 # from enum SpeechRecoEvents
SREInterference =1024 # from enum SpeechRecoEvents
SREPhraseStart =8 # from enum SpeechRecoEvents
SREPrivate =262144 # from enum SpeechRecoEvents
SREPropertyNumChange =128 # from enum SpeechRecoEvents
SREPropertyStringChange =256 # from enum SpeechRecoEvents
SRERecoOtherContext =32768 # from enum SpeechRecoEvents
SRERecognition =16 # from enum SpeechRecoEvents
SRERequestUI =2048 # from enum SpeechRecoEvents
SRESoundEnd =4 # from enum SpeechRecoEvents
SRESoundStart =2 # from enum SpeechRecoEvents
SREStateChange =4096 # from enum SpeechRecoEvents
SREStreamEnd =1 # from enum SpeechRecoEvents
SREStreamStart =16384 # from enum SpeechRecoEvents
SRTAutopause =1 # from enum SpeechRecognitionType
SRTEmulated =2 # from enum SpeechRecognitionType
SRTExtendableParse =8 # from enum SpeechRecognitionType
SRTReSent =16 # from enum SpeechRecognitionType
SRTSMLTimeout =4 # from enum SpeechRecognitionType
SRTStandard =0 # from enum SpeechRecognitionType
SRSActive =1 # from enum SpeechRecognizerState
SRSActiveAlways =2 # from enum SpeechRecognizerState
SRSInactive =0 # from enum SpeechRecognizerState
SRSInactiveWithPurge =3 # from enum SpeechRecognizerState
SRAONone =0 # from enum SpeechRetainedAudioOptions
SRAORetainAudio =1 # from enum SpeechRetainedAudioOptions
SRADefaultToActive =2 # from enum SpeechRuleAttributes
SRADynamic =32 # from enum SpeechRuleAttributes
SRAExport =4 # from enum SpeechRuleAttributes
SRAImport =8 # from enum SpeechRuleAttributes
SRAInterpreter =16 # from enum SpeechRuleAttributes
SRARoot =64 # from enum SpeechRuleAttributes
SRATopLevel =1 # from enum SpeechRuleAttributes
SGDSActive =1 # from enum SpeechRuleState
SGDSActiveUserDelimited =4 # from enum SpeechRuleState
SGDSActiveWithAutoPause =3 # from enum SpeechRuleState
SGDSInactive =0 # from enum SpeechRuleState
SRSEDone =1 # from enum SpeechRunState
SRSEIsSpeaking =2 # from enum SpeechRunState
SSTTDictation =2 # from enum SpeechSpecialTransitionType
SSTTTextBuffer =3 # from enum SpeechSpecialTransitionType
SSTTWildcard =1 # from enum SpeechSpecialTransitionType
SSFMCreate =2 # from enum SpeechStreamFileMode
SSFMCreateForWrite =3 # from enum SpeechStreamFileMode
SSFMOpenForRead =0 # from enum SpeechStreamFileMode
SSFMOpenReadWrite =1 # from enum SpeechStreamFileMode
SSSPTRelativeToCurrentPosition=1 # from enum SpeechStreamSeekPositionType
SSSPTRelativeToEnd =2 # from enum SpeechStreamSeekPositionType
SSSPTRelativeToStart =0 # from enum SpeechStreamSeekPositionType
SpeechAddRemoveWord ='AddRemoveWord' # from enum SpeechStringConstants
SpeechAudioFormatGUIDText ='{7CEEF9F9-3D13-11d2-9EE7-00C04F797396}' # from enum SpeechStringConstants
SpeechAudioFormatGUIDWave ='{C31ADBAE-527F-4ff5-A230-F62BB61FF70C}' # from enum SpeechStringConstants
SpeechAudioProperties ='AudioProperties' # from enum SpeechStringConstants
SpeechAudioVolume ='AudioVolume' # from enum SpeechStringConstants
SpeechCategoryAppLexicons ='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\AppLexicons' # from enum SpeechStringConstants
SpeechCategoryAudioIn ='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\AudioInput' # from enum SpeechStringConstants
SpeechCategoryAudioOut ='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\AudioOutput' # from enum SpeechStringConstants
SpeechCategoryPhoneConverters ='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\PhoneConverters' # from enum SpeechStringConstants
SpeechCategoryRecoProfiles ='HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Speech\\RecoProfiles' # from enum SpeechStringConstants
SpeechCategoryRecognizers ='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\Recognizers' # from enum SpeechStringConstants
SpeechCategoryVoices ='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\Voices' # from enum SpeechStringConstants
SpeechDictationTopicSpelling ='Spelling' # from enum SpeechStringConstants
SpeechEngineProperties ='EngineProperties' # from enum SpeechStringConstants
SpeechGrammarTagDictation ='*' # from enum SpeechStringConstants
SpeechGrammarTagUnlimitedDictation='*+' # from enum SpeechStringConstants
SpeechGrammarTagWildcard ='...' # from enum SpeechStringConstants
SpeechMicTraining ='MicTraining' # from enum SpeechStringConstants
SpeechPropertyAdaptationOn ='AdaptationOn' # from enum SpeechStringConstants
SpeechPropertyComplexResponseSpeed='ComplexResponseSpeed' # from enum SpeechStringConstants
SpeechPropertyHighConfidenceThreshold='HighConfidenceThreshold' # from enum SpeechStringConstants
SpeechPropertyLowConfidenceThreshold='LowConfidenceThreshold' # from enum SpeechStringConstants
SpeechPropertyNormalConfidenceThreshold='NormalConfidenceThreshold' # from enum SpeechStringConstants
SpeechPropertyResourceUsage ='ResourceUsage' # from enum SpeechStringConstants
SpeechPropertyResponseSpeed ='ResponseSpeed' # from enum SpeechStringConstants
SpeechRecoProfileProperties ='RecoProfileProperties' # from enum SpeechStringConstants
SpeechRegistryLocalMachineRoot='HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech' # from enum SpeechStringConstants
SpeechRegistryUserRoot ='HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Speech' # from enum SpeechStringConstants
SpeechTokenIdUserLexicon ='HKEY_CURRENT_USER\\SOFTWARE\\Microsoft\\Speech\\CurrentUserLexicon' # from enum SpeechStringConstants
SpeechTokenKeyAttributes ='Attributes' # from enum SpeechStringConstants
SpeechTokenKeyFiles ='Files' # from enum SpeechStringConstants
SpeechTokenKeyUI ='UI' # from enum SpeechStringConstants
SpeechTokenValueCLSID ='CLSID' # from enum SpeechStringConstants
SpeechUserTraining ='UserTraining' # from enum SpeechStringConstants
SpeechVoiceCategoryTTSRate ='DefaultTTSRate' # from enum SpeechStringConstants
SpeechVoiceSkipTypeSentence ='Sentence' # from enum SpeechStringConstants
STCAll =23 # from enum SpeechTokenContext
STCInprocHandler =2 # from enum SpeechTokenContext
STCInprocServer =1 # from enum SpeechTokenContext
STCLocalServer =4 # from enum SpeechTokenContext
STCRemoteServer =16 # from enum SpeechTokenContext
STSF_AppData =26 # from enum SpeechTokenShellFolder
STSF_CommonAppData =35 # from enum SpeechTokenShellFolder
STSF_FlagCreate =32768 # from enum SpeechTokenShellFolder
STSF_LocalAppData =28 # from enum SpeechTokenShellFolder
SVF_Emphasis =2 # from enum SpeechVisemeFeature
SVF_None =0 # from enum SpeechVisemeFeature
SVF_Stressed =1 # from enum SpeechVisemeFeature
SVP_0 =0 # from enum SpeechVisemeType
SVP_1 =1 # from enum SpeechVisemeType
SVP_10 =10 # from enum SpeechVisemeType
SVP_11 =11 # from enum SpeechVisemeType
SVP_12 =12 # from enum SpeechVisemeType
SVP_13 =13 # from enum SpeechVisemeType
SVP_14 =14 # from enum SpeechVisemeType
SVP_15 =15 # from enum SpeechVisemeType
SVP_16 =16 # from enum SpeechVisemeType
SVP_17 =17 # from enum SpeechVisemeType
SVP_18 =18 # from enum SpeechVisemeType
SVP_19 =19 # from enum SpeechVisemeType
SVP_2 =2 # from enum SpeechVisemeType
SVP_20 =20 # from enum SpeechVisemeType
SVP_21 =21 # from enum SpeechVisemeType
SVP_3 =3 # from enum SpeechVisemeType
SVP_4 =4 # from enum SpeechVisemeType
SVP_5 =5 # from enum SpeechVisemeType
SVP_6 =6 # from enum SpeechVisemeType
SVP_7 =7 # from enum SpeechVisemeType
SVP_8 =8 # from enum SpeechVisemeType
SVP_9 =9 # from enum SpeechVisemeType
SVEAllEvents =33790 # from enum SpeechVoiceEvents
SVEAudioLevel =512 # from enum SpeechVoiceEvents
SVEBookmark =16 # from enum SpeechVoiceEvents
SVEEndInputStream =4 # from enum SpeechVoiceEvents
SVEPhoneme =64 # from enum SpeechVoiceEvents
SVEPrivate =32768 # from enum SpeechVoiceEvents
SVESentenceBoundary =128 # from enum SpeechVoiceEvents
SVEStartInputStream =2 # from enum SpeechVoiceEvents
SVEViseme =256 # from enum SpeechVoiceEvents
SVEVoiceChange =8 # from enum SpeechVoiceEvents
SVEWordBoundary =32 # from enum SpeechVoiceEvents
SVPAlert =1 # from enum SpeechVoicePriority
SVPNormal =0 # from enum SpeechVoicePriority
SVPOver =2 # from enum SpeechVoicePriority
SVSFDefault =0 # from enum SpeechVoiceSpeakFlags
SVSFIsFilename =4 # from enum SpeechVoiceSpeakFlags
SVSFIsNotXML =16 # from enum SpeechVoiceSpeakFlags
SVSFIsXML =8 # from enum SpeechVoiceSpeakFlags
SVSFNLPMask =64 # from enum SpeechVoiceSpeakFlags
SVSFNLPSpeakPunc =64 # from enum SpeechVoiceSpeakFlags
SVSFParseAutodetect =0 # from enum SpeechVoiceSpeakFlags
SVSFParseMask =384 # from enum SpeechVoiceSpeakFlags
SVSFParseSapi =128 # from enum SpeechVoiceSpeakFlags
SVSFParseSsml =256 # from enum SpeechVoiceSpeakFlags
SVSFPersistXML =32 # from enum SpeechVoiceSpeakFlags
SVSFPurgeBeforeSpeak =2 # from enum SpeechVoiceSpeakFlags
SVSFUnusedFlags =-512 # from enum SpeechVoiceSpeakFlags
SVSFVoiceMask =511 # from enum SpeechVoiceSpeakFlags
SVSFlagsAsync =1 # from enum SpeechVoiceSpeakFlags
SWPKnownWordPronounceable =2 # from enum SpeechWordPronounceable
SWPUnknownWordPronounceable =1 # from enum SpeechWordPronounceable
SWPUnknownWordUnpronounceable =0 # from enum SpeechWordPronounceable
SWTAdded =1 # from enum SpeechWordType
SWTDeleted =2 # from enum SpeechWordType
SPAS_CLOSED =0 # from enum _SPAUDIOSTATE
SPAS_PAUSE =2 # from enum _SPAUDIOSTATE
SPAS_RUN =3 # from enum _SPAUDIOSTATE
SPAS_STOP =1 # from enum _SPAUDIOSTATE
from win32com.client import DispatchBaseClass
class ISpeechAudio(DispatchBaseClass):
'ISpeechAudio Interface'
CLSID = IID('{CFF8E175-019E-11D3-A08E-00C04F8EF9B5}')
coclass_clsid = None
def Read(self, Buffer=pythoncom.Missing, NumberOfBytes=defaultNamedNotOptArg):
'Read'
return self._ApplyTypes_(2, 1, (3, 0), ((16396, 2), (3, 1)), 'Read', None,Buffer
, NumberOfBytes)
def Seek(self, Position=defaultNamedNotOptArg, Origin=0):
'Seek'
return self._ApplyTypes_(4, 1, (12, 0), ((12, 1), (3, 49)), 'Seek', None,Position
, Origin)
def SetState(self, State=defaultNamedNotOptArg):
'SetState'
return self._oleobj_.InvokeTypes(206, LCID, 1, (24, 0), ((3, 1),),State
)
def Write(self, Buffer=defaultNamedNotOptArg):
'Write'
return self._oleobj_.InvokeTypes(3, LCID, 1, (3, 0), ((12, 1),),Buffer
)
_prop_map_get_ = {
# Method 'BufferInfo' returns object of type 'ISpeechAudioBufferInfo'
"BufferInfo": (201, 2, (9, 0), (), "BufferInfo", '{11B103D8-1142-4EDF-A093-82FB3915F8CC}'),
"BufferNotifySize": (204, 2, (3, 0), (), "BufferNotifySize", None),
# Method 'DefaultFormat' returns object of type 'ISpeechAudioFormat'
"DefaultFormat": (202, 2, (9, 0), (), "DefaultFormat", '{E6E9C590-3E18-40E3-8299-061F98BDE7C7}'),
"EventHandle": (205, 2, (3, 0), (), "EventHandle", None),
# Method 'Format' returns object of type 'ISpeechAudioFormat'
"Format": (1, 2, (9, 0), (), "Format", '{E6E9C590-3E18-40E3-8299-061F98BDE7C7}'),
# Method 'Status' returns object of type 'ISpeechAudioStatus'
"Status": (200, 2, (9, 0), (), "Status", '{C62D9C91-7458-47F6-862D-1EF86FB0B278}'),
"Volume": (203, 2, (3, 0), (), "Volume", None),
}
_prop_map_put_ = {
"BufferNotifySize": ((204, LCID, 4, 0),()),
"Format": ((1, LCID, 8, 0),()),
"Volume": ((203, LCID, 4, 0),()),
}
def __iter__(self):
"Return a Python iterator for this object"
try:
ob = self._oleobj_.InvokeTypes(-4,LCID,3,(13, 10),())
except pythoncom.error:
raise TypeError("This object does not support enumeration")
return win32com.client.util.Iterator(ob, None)
class ISpeechAudioBufferInfo(DispatchBaseClass):
'ISpeechAudioBufferInfo Interface'
CLSID = IID('{11B103D8-1142-4EDF-A093-82FB3915F8CC}')
coclass_clsid = None
_prop_map_get_ = {
"BufferSize": (2, 2, (3, 0), (), "BufferSize", None),
"EventBias": (3, 2, (3, 0), (), "EventBias", None),
"MinNotification": (1, 2, (3, 0), (), "MinNotification", None),
}
_prop_map_put_ = {
"BufferSize": ((2, LCID, 4, 0),()),
"EventBias": ((3, LCID, 4, 0),()),
"MinNotification": ((1, LCID, 4, 0),()),
}
def __iter__(self):
"Return a Python iterator for this object"
try:
ob = self._oleobj_.InvokeTypes(-4,LCID,3,(13, 10),())
except pythoncom.error:
raise TypeError("This object does not support enumeration")
return win32com.client.util.Iterator(ob, None)
class ISpeechAudioFormat(DispatchBaseClass):
'ISpeechAudioFormat Interface'
CLSID = IID('{E6E9C590-3E18-40E3-8299-061F98BDE7C7}')
coclass_clsid = IID('{9EF96870-E160-4792-820D-48CF0649E4EC}')
# Result is of type ISpeechWaveFormatEx
def GetWaveFormatEx(self):
'GetWaveFormatEx'
ret = self._oleobj_.InvokeTypes(3, LCID, 1, (9, 0), (),)
if ret is not None:
ret = Dispatch(ret, 'GetWaveFormatEx', '{7A1EF0D5-1581-4741-88E4-209A49F11A10}')
return ret
def SetWaveFormatEx(self, SpeechWaveFormatEx=defaultNamedNotOptArg):
'SetWaveFormatEx'
return self._oleobj_.InvokeTypes(4, LCID, 1, (24, 0), ((9, 1),),SpeechWaveFormatEx
)
_prop_map_get_ = {
"Guid": (2, 2, (8, 0), (), "Guid", None),
"Type": (1, 2, (3, 0), (), "Type", None),
}
_prop_map_put_ = {
"Guid": ((2, LCID, 4, 0),()),
"Type": ((1, LCID, 4, 0),()),
}
def __iter__(self):
"Return a Python iterator for this object"
try:
ob = self._oleobj_.InvokeTypes(-4,LCID,3,(13, 10),())
except pythoncom.error:
raise TypeError("This object does not support enumeration")
return win32com.client.util.Iterator(ob, None)
class ISpeechAudioStatus(DispatchBaseClass):
'ISpeechAudioStatus Interface'
CLSID = IID('{C62D9C91-7458-47F6-862D-1EF86FB0B278}')
coclass_clsid = None
_prop_map_get_ = {
"CurrentDevicePosition": (5, 2, (12, 0), (), "CurrentDevicePosition", None),
"CurrentSeekPosition": (4, 2, (12, 0), (), "CurrentSeekPosition", None),
"FreeBufferSpace": (1, 2, (3, 0), (), "FreeBufferSpace", None),
"NonBlockingIO": (2, 2, (3, 0), (), "NonBlockingIO", None),
"State": (3, 2, (3, 0), (), "State", None),
}
_prop_map_put_ = {
}
def __iter__(self):
"Return a Python iterator for this object"
try:
ob = self._oleobj_.InvokeTypes(-4,LCID,3,(13, 10),())
except pythoncom.error:
raise TypeError("This object does not support enumeration")
return win32com.client.util.Iterator(ob, None)
class ISpeechBaseStream(DispatchBaseClass):
'ISpeechBaseStream Interface'
CLSID = IID('{6450336F-7D49-4CED-8097-49D6DEE37294}')
coclass_clsid = None
def Read(self, Buffer=pythoncom.Missing, NumberOfBytes=defaultNamedNotOptArg):
'Read'
return self._ApplyTypes_(2, 1, (3, 0), ((16396, 2), (3, 1)), 'Read', None,Buffer