Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: voice synthesis?

  1. #1

    voice synthesis?

    Remember the 'computer voice' announcer from Half Life? Would be cool to have a something similar in my game. Anyone have experience in this subject or libraries to recommend?

  2. #2
    PGD Staff / News Reporter phibermon's Avatar
    Join Date
    Sep 2009
    Location
    England
    Posts
    524
    I've played around with various voice synthesis projects that are available open source on Linux, tons of stuff if you google 'open source speech synth'. There's things like eSpeak which works across windows and Linux. if it can be compiled into a dynamic lib, and it's not classes etc. then it'd be a case of writing a pascal header, which is not too hard if you carefully step through the C header.

    A lot of speech synthesis is commercial, there's a market, so don't expect to find a ready packaged solution for all OSes.

    There's the microsoft speech API on most windows, but I don't know about headers. OSX probably has a speech api as well.

    There's a google speech API that might be suitable for your needs as well
    When the moon hits your eye like a big pizza pie - that's an extinction level impact event.

  3. #3
    i need a 'computer' voice therefor commercial solutions would be too good

  4. #4
    Quote Originally Posted by laggyluk View Post
    i need a 'computer' voice therefor commercial solutions would be too good
    Not realy. The only difference between some opensource or some comercial voice synthesysis is the maximum quality of voice synthesysis you can get. But you can still get computer like voice even from best voice synthesysis engine. It all depends on voice profile you are using.

  5. #5
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    You could simply record your voice (or someone else that has a better voice for what you want) and down-sample the audio data so that it sounds more "retro computer-istic." Should that be what you are going for.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  6. #6
    not the same, i could just use speech synth in FL Studio if I wanted to have pre-recorded sentences

  7. #7
    After Phibermon comment, I find MARY voice synth and try the web demo, it's a java open source voice synth with some cool filters, when combined robot + jetpilot, got a nice computer voice. give it a try.

  8. #8
    PGDCE Developer Carver413's Avatar
    Join Date
    Jun 2010
    Location
    Spokane,WA,Usa
    Posts
    206
    on linux there are more then a few tts engines that you could use but you will need to access them thru a shell comand. not quite what you had in mind I'm sure but it is a workable solution.

    Mary TTS has some pretty good voices but is still a bit buggy last time I checked.
    ESpeak is ok for a male sounding voice.
    FLite does male and female
    Festival about the same
    SVox Pico (free comercial ?) has a very nice female voice and is used on androids as well, I dont know if other voices can be installed. maybe percused.
    there is probable more that I haven't thought of.
    using a shell comand I can use them all more or less, and until a better solution comes along that is how I will do it.

  9. #9
    PGD Staff / News Reporter phibermon's Avatar
    Join Date
    Sep 2009
    Location
    England
    Posts
    524
    Basic Speech synths were available even on the Commadore 64. There are a set number of phenoms in human speech. the process of text to speech is basically about converting a word such as 'sausages' into the phenoms that make it up. Natural sounding speech is complex, lots of tone and inflection issues that are hard to replicate.

    But a 'computer voice', something that's understandable (like Professor Stephen Hawkins voice) is relatively easy. You can get many files from lots of these open speech places that are essentially digital waveforms of existing phenoms or you can synth the phenoms in realtime, or you can do a mix of the two (which as I understand is how modern systems do it).

    Text to Speech is a complex topic, but a basic speech synth isn't actually hard at all.

    You see them all the time in the Demoscene, to create one isn't by any means a silly idea.

    At a very rough guess, a simple, understandable synth is probably as hard as learning and coding a simple scripting engine or maybe say... a software implementation of a skeletal/bone animation lib.

    it's probably not too far off that to be fair.
    When the moon hits your eye like a big pizza pie - that's an extinction level impact event.

  10. #10
    Mary TTS you mentioned does seem very clear human voice, for open source project. But what i saw it is a server-client based model (with http communication?), and written in Java. There was some example made with C too, but getting that to work on pascal is going to be a challenge.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •