Re: pythonic interface to SAPI5?

2012-08-18 Thread Vojtěch Polášek
Thank you very much,
I have found a DLL which is designed exactly for us and I use it through
ctypes.
Vojta
On 18.8.2012 15:44, Ramchandra Apte wrote:
> A simple workaround is to use:
> speak = subprocess.Popen("espeak",stdin = subprocess.PIPE)
> speak.stdin.write("Hello world!")
> time.sleep(1)
> speak.terminate() #end the speaking
>
>
>
> On 17 August 2012 21:49, Vojtěch Polášek  > wrote:
>
> Hi,
> I am developing audiogame for visually impaired users and I want it to
> be multiplatform. I know, that there is library called
> accessible_output
> but it is not working when used in Windows for me.
> I tried pyttsx, which should use Espeak on Linux and SAPI5 on Windows.
> It works on Windows, on Linux I decided to use speech dispatcher
> bindings.
> But it seems that I can't interrupt speech when using pyttsx and
> this is
> showstopper for me.
> Does anyone has any working solution for using SAPI5 on windows?
> Thank you very much,
> Vojta
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
>
>

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: pythonic interface to SAPI5?

2012-08-18 Thread Ramchandra Apte
A simple workaround is to use:
speak = subprocess.Popen("espeak",stdin = subprocess.PIPE)
speak.stdin.write("Hello world!")
time.sleep(1)
speak.terminate() #end the speaking


On 17 August 2012 21:49, Vojtěch Polášek  wrote:

> Hi,
> I am developing audiogame for visually impaired users and I want it to
> be multiplatform. I know, that there is library called accessible_output
> but it is not working when used in Windows for me.
> I tried pyttsx, which should use Espeak on Linux and SAPI5 on Windows.
> It works on Windows, on Linux I decided to use speech dispatcher bindings.
> But it seems that I can't interrupt speech when using pyttsx and this is
> showstopper for me.
> Does anyone has any working solution for using SAPI5 on windows?
> Thank you very much,
> Vojta
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list


pythonic interface to SAPI5?

2012-08-17 Thread Vojtěch Polášek
Hi,
I am developing audiogame for visually impaired users and I want it to
be multiplatform. I know, that there is library called accessible_output
but it is not working when used in Windows for me.
I tried pyttsx, which should use Espeak on Linux and SAPI5 on Windows.
It works on Windows, on Linux I decided to use speech dispatcher bindings.
But it seems that I can't interrupt speech when using pyttsx and this is
showstopper for me.
Does anyone has any working solution for using SAPI5 on windows?
Thank you very much,
Vojta
-- 
http://mail.python.org/mailman/listinfo/python-list