|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Winsound problem
okay hi guys
Well a few minutes ago I tried to do somethng with the winsound module. I tried to us the beep function but it says that this attribute does not exist. Could you help me please? I am trying to manipulate the sound to a voice and make a whole sentence. I am a noob ![]() |
|
#2
|
|||
|
|||
|
I found the answer finaly so could a mod or admin delete this thread
![]() |
|
#3
|
|||
|
|||
|
Code:
>>> from win32com.client import Dispatch
>>> sp = Dispatch("SAPI.spVoice")
>>> sp.Speak("There's really no need to reinvent the wheel... unless you want to.")
>>>
![]() |
|
#4
|
|||
|
|||
|
thanks
![]() |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Winsound problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|