Speech from VB6 app?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Noozer

    #1

    Speech from VB6 app?

    Is there an easy way to generate speech from a VB6 application?

    I remember seeing a text to speech control some time ago, but I cannot
    remember what it was called and how it was installed in to VB6.

    Thanks!


  • mayayana

    #2
    Re: Speech from VB6 app?

    SAPI (speech API) 5 has a very easy-to-use COM
    object for TTS. Using text to speech is almost as easy as writing:
    Speak (string to speak)

    You can download the SAPI 5.1 SDK from MS. It has
    some adequate TTS samples. The tough part is distributing
    the TTS support files with your software. It's very big.

    SAPI 4 is much smaller but I don't know anything
    about how well it works or how easy it is to use.
    --
    --
    Noozer <dont.spam@me.h ere> wrote in message
    news:8Cdoc.4483 96$oR5.445235@p d7tw3no...[color=blue]
    > Is there an easy way to generate speech from a VB6 application?
    >
    > I remember seeing a text to speech control some time ago, but I cannot
    > remember what it was called and how it was installed in to VB6.
    >
    > Thanks!
    >
    >[/color]


    Comment

    • kpg

      #3
      Re: Speech from VB6 app?

      "Noozer" <dont.spam@me.h ere> wrote in message
      news:8Cdoc.4483 96$oR5.445235@p d7tw3no...[color=blue]
      > # Name resolution details: file://c:\temp\162015. htm (5/13/2004 8:50:35[/color]
      AM) #[color=blue]
      > Is there an easy way to generate speech from a VB6 application?
      >
      > I remember seeing a text to speech control some time ago, but I cannot
      > remember what it was called and how it was installed in to VB6.
      >
      > Thanks![/color]


      Ref: Microsoft Speech Object Library (sapi.dll)

      Public Voice As New SpVoice

      Sub Speak(s As String)
      On Local Error Resume Next
      Voice.Speak s, SVSFlagsAsync
      End Sub


      Comment

      • dreamer

        #4
        Re: Speech from VB6 app?

        On Tue, 11 May 2004 23:47:16 GMT, "Noozer" <dont.spam@me.h ere> wrote:
        [color=blue]
        >Is there an easy way to generate speech from a VB6 application?
        >
        >I remember seeing a text to speech control some time ago, but I cannot
        >remember what it was called and how it was installed in to VB6.
        >
        >Thanks!
        >[/color]
        Microsoft Agent does it.
        It is a free download from MS.
        Search google using microsoft agent as your keywords for sample code
        and installation instructions.
        It allows you to use animated charactors to do the talking and
        gesturing.

        Comment

        Working...