Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. C# with sounds

C# with sounds

Scheduled Pinned Locked Moved C#
csharpquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ahmed Fathy
    wrote on last edited by
    #1

    Can i make a program that get some text from user and convert it to a sound ? how make that ? thanks

    C A 2 Replies Last reply
    0
    • A Ahmed Fathy

      Can i make a program that get some text from user and convert it to a sound ? how make that ? thanks

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      There was an API in C++ for converting text to speech. It sounded terrible. There's nothing built in standard, that's for sure.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      1 Reply Last reply
      0
      • A Ahmed Fathy

        Can i make a program that get some text from user and convert it to a sound ? how make that ? thanks

        A Offline
        A Offline
        aSarafian
        wrote on last edited by
        #3

        You need a Text To Speech interface. Such an interface is provided by Microsoft free and is called SAPI (Speech API) but i think that it was going to be upgraded and change name. Sorry i haven't gotten around it since 2003. Need to know stuff. SAPI is something like DirectX. It's Microsoft attempt to provide a generic interface for each interface realted to Speech Applications. Theretically each provider would comply and make his engine SAPI compliant. SAPI when i used it in C++ it was very harsh. Even harsher than DirectX and there is not a lot of development going on, to find easily help SAPI comes with the speech engine of Office intergrated. This means that without the need of a powerfull engine you can run your tests. I think SAPi was renamed to ATL.

        C 1 Reply Last reply
        0
        • A aSarafian

          You need a Text To Speech interface. Such an interface is provided by Microsoft free and is called SAPI (Speech API) but i think that it was going to be upgraded and change name. Sorry i haven't gotten around it since 2003. Need to know stuff. SAPI is something like DirectX. It's Microsoft attempt to provide a generic interface for each interface realted to Speech Applications. Theretically each provider would comply and make his engine SAPI compliant. SAPI when i used it in C++ it was very harsh. Even harsher than DirectX and there is not a lot of development going on, to find easily help SAPI comes with the speech engine of Office intergrated. This means that without the need of a powerfull engine you can run your tests. I think SAPi was renamed to ATL.

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Sarafian wrote:

          I think SAPi was renamed to ATL

          This is definately wrong. ATL has nothing to do with speech.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

          A 1 Reply Last reply
          0
          • C Christian Graus

            Sarafian wrote:

            I think SAPi was renamed to ATL

            This is definately wrong. ATL has nothing to do with speech.

            Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

            A Offline
            A Offline
            aSarafian
            wrote on last edited by
            #5

            My bad. I thought i remembered it correctly. I remember something that resembles it with 3 letters. Anyway sorry for the misinformation

            A 1 Reply Last reply
            0
            • A aSarafian

              My bad. I thought i remembered it correctly. I remember something that resembles it with 3 letters. Anyway sorry for the misinformation

              A Offline
              A Offline
              aSarafian
              wrote on last edited by
              #6

              I found this. SAPI[^] For the needs of the original message there is this interesting part

              Managed code Speech API A managed code API is being developed by Microsoft which has similar functionality to SAPI 5 but will be more suitable to be used by managed code applications. The new API is part of .NET Framework 3.0 and will be available on Windows XP, Windows Server 2003 and Windows Vista. The existing SAPI 5 API can also be used from managed code to a limited extent by creating COM Interop code (helper code designed to assist in accessing COM interfaces and classes). This works well in some scenarios however the new API should provide a more seamless experience equivalent to using any other managed code library.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups