is anyone using text to speech to read python documentation

Discussion in 'Python' started by Eric_Dexter@msn.com, Jun 3, 2009.

  1. Guest

    , Jun 3, 2009
    #1
    1. Advertisements

  2. edexter Guest

    On Jun 2, 7:52 pm, "" <> wrote:
    >      I wrote a small pre-processor for python documentation and I am
    > looking for advice on how to get the most natural sounding reading.  I
    > uploaded an example of a reading of lxml documentation as a podcast1
    >
    > http://dexrow.blogspot.com/2009/06/python-voice-preprocessor.html.


    I take it identifing html tags and changing the wording would help :
    ( I will fix that..
     
    edexter, Jun 3, 2009
    #2
    1. Advertisements

  3. Stef Mientki Guest

    wrote:
    > I wrote a small pre-processor for python documentation and I am
    > looking for advice on how to get the most natural sounding reading. I
    > uploaded an example of a reading of lxml documentation as a podcast1
    >
    > http://dexrow.blogspot.com/2009/06/python-voice-preprocessor.html.
    >
    >

    Depends what OS you want to use, on Windows it's very easy:

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


    cheers,
    Stef
     
    Stef Mientki, Jun 3, 2009
    #3
  4. edexter Guest

    On Jun 3, 12:28 pm, Stef Mientki <> wrote:
    > wrote:
    > >      I wrote a small pre-processor for python documentation and I am
    > > looking for advice on how to get the most natural sounding reading.  I
    > > uploaded an example of a reading of lxml documentation as a podcast1

    >
    > >http://dexrow.blogspot.com/2009/06/python-voice-preprocessor.html.

    >
    > Depends what OS you want to use, on Windows it's very easy:
    >
    > import win32com.client                          
    > s = win32com.client.Dispatch("SAPI.SpVoice")    
    > s.Speak('Is this punthoofd ')                    
    >
    > cheers,
    > Stef


    That is intresting and might be useful but isn't what I am doing.
    alot of the time you will see stuff like

    >>>


    that needs to be changed into other wording so you have one file that
    gets transformed into another text that makes more sense when read. I
    haven't changed html tags into something that makes more sense when
    spoken so my example is a little defective....
     
    edexter, Jun 5, 2009
    #4
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Onur
    Replies:
    2
    Views:
    3,930
    =?Utf-8?B?QW50aG9ueSBCZWFyb24gW01TXQ==?=
    Jun 23, 2006
  2. yuen

    Text to Speech

    yuen, Oct 3, 2003, in forum: Java
    Replies:
    0
    Views:
    582
  3. Roedy Green

    Experiments with speech to text

    Roedy Green, Jul 4, 2004, in forum: Java
    Replies:
    6
    Views:
    851
    Dale King
    Jul 13, 2004
  4. Cameron Laird
    Replies:
    1
    Views:
    849
    Josiah Carlson
    Apr 3, 2004
  5. Kenneth McDonald
    Replies:
    2
    Views:
    975
  6. Mike P.

    Text To Speech with pyTTS

    Mike P., Feb 27, 2005, in forum: Python
    Replies:
    6
    Views:
    6,648
    Hans Georg Krauthaeuser
    Mar 4, 2005
  7. Sullivan WxPyQtKinter
    Replies:
    1
    Views:
    378
    Amit Khemka
    Apr 4, 2006
  8. Ranjith Kumar
    Replies:
    1
    Views:
    279
    Miki Tebeka
    Jun 13, 2013
Loading...