logging sound / speech handler?

Stef Mientki stef.mientki at gmail.com
Wed Sep 9 18:56:12 CEST 2009


Gregor Horvath wrote:
> Hi,
>
> For an application in an industrial environment where the workers are
> not always sitting in front of the monitor, but are within earshot of
> the PC I would need an sound / speech handler for the standard logging
> system. It should beep or better say the logging message. (with
> standard filtering etc.)
> I google search was not successfull.
> Does anybode know of such a handler?
>
> --
> Gregor
>   
if you're on windows, you can use the windows speech api:

import win32com.client
s = win32com.client.Dispatch("SAPI.SpVoice")
s.Speak('Is this punthoofd ')

cheers,
Stef



More information about the Python-list mailing list