Thread: text-to-speech

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    4

    Question text-to-speech

    anyone have some C or C++ code for text-to-speech that outputs to the sound card and compiles to a size less than 256K?

    if you do, please let me know, i need it for a project I'm working on and it has to fit on a floppy when it's done... thanx!

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    So what's with the size? I understand that you want to keep it small but I can't make any guarantees in this department. You can go to M$'s site and get the Speech SDK. It is 60 megs last I checked. The good news is that it comes with some very good sample code. Some of which uses MFC but that doesn't mean using the Speech SDK is limited to MFC usages.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    4
    actually, there's an old app that did this, but would output to the PC speaker (which is ok as well) called TRAN. It was about 40k, sounded fairly rough, but that's fine for my purposes. I could use it royalty free, but it reles on clock speed being between 1 and 100Mhz (it sounded alright on my old 133, but it's just a low buzz on my 550).

    If anyone knows where I may find source to a similar project that I can legally modify and reuse (a little modification of TRAN and it would work, I'm sure), that information would be greatly helpful.

    As for downloading a 60MB SDK, I'm on dialup.

    The size restraint is that the application is going to be distributed mainly via floppies and e-mail (as ordered) and the OCCAISIONAL CD-R. I'd like to keep it under 1MB if possible so that hotmail users (and others with 1MB attatchment limits) still have the option of e-mail delivery.

    I'm choosing not to make it available for direct download for reasons which i'd like to keep to myself until I release the app.

  4. #4
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Examples here:
    http://www.btinternet.com/~john.findlay1/OLE/ole.htm

    Have a look at the speech example which includes an executable under 10KB.

    If your compiler does not have the needed headers, etc then lcc download is under 4MB.

  5. #5
    Registered User
    Join Date
    Aug 2003
    Posts
    4

    thank you

    this should be most helpful

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My text doesn't display
    By joeprogrammer in forum Game Programming
    Replies: 11
    Last Post: 02-23-2006, 10:01 PM
  2. Appending text to an edit control
    By dit6a9 in forum Windows Programming
    Replies: 3
    Last Post: 08-13-2004, 09:52 PM
  3. Text positioning and Text scrolling
    By RealityFusion in forum C++ Programming
    Replies: 3
    Last Post: 08-13-2004, 12:35 AM
  4. Scrolling The Text
    By GaPe in forum C Programming
    Replies: 3
    Last Post: 07-14-2002, 04:33 PM
  5. Replies: 1
    Last Post: 07-13-2002, 05:45 PM