Anthony
IronPython 0.9.2 on .NET 2.0.50215.44
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import sys
>>> sys.LoadAssemblyByName('Speech')
>>> from System.Speech import *
>>> dir()
['AudioFormat', 'Recognition', 'SpeechManager', 'Synthesis', '_', '__builtins__'
, '__doc__', '__name__', 'sys']
>>> from Synthesis import *
Traceback (most recent call last):
at <shell>
ImportError: No module named Synthesis
>>> dir(Synthesis)
['BookmarkEventArgs', 'FilePrompt', 'InstalledVoice', 'PhonemeEventArgs', 'Promp
t', 'PromptBreak', 'PromptBuilder', 'PromptEmphasis', 'PromptEventArgs', 'Prompt
Rate', 'PromptStyle', 'PromptVolume', 'SayAs', 'SpeakCompletedEventArgs', 'Speak
ProgressEventArgs', 'SpeechSynthesizer', 'SynthesisMediaType', 'SynthesisTextFor
mat', 'SynthesizerEmphasis', 'SynthesizerState', 'SynthesizerStateChangedEventAr
gs', 'TtsEngine', 'VisemeEventArgs', 'VoiceAge', 'VoiceChangeEventArgs', 'VoiceG
ender', 'VoiceInfo']
>>> from Synthesis import *
Traceback (most recent call last):
at <shell>
ImportError: No module named Synthesis
>>> from System.Speech.Synthesis import *
>>>
_______________________________________________ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com