Skip to main content
GameDev.net gamedev.net
🔒 Locked

Placeholder: Voice - free tool for game dialog generation

Started by lonesock Oct 17, 2008 at 4:11 PM 3 replies 2.5k views
Original Post
lonesock
lonesock
Hi, all. I'm making a tool for my game, and I hope that others might find it useful. Given an XML input file of lines of dialog, it generates WAV files to be used as placeholder dialog until you hire actors to record the final dialog. (or, like me if you need a game full of robotic-sounding voices, you can just leave the output as is [8^) Here is the download link. The application is a 3.5MB console app for Windows (compressed with UPX), including a statically-linked voice (using the Flite text-to-speech engine). Hopefully all the info you need to run it is in the included readme file. I'm planning on making a commercial tool out of this, so I would really appreciate your feedback on this free version! The commercial version is planned to have souped-up abilities, including: * SAPI 4 & 5 interface, for using multiple voices / languages * GUI * multiple hashing functions for the output file naming convention * MP3 and OGG encoder option Here is the sample XML input file included in the zip:

<phvoice>
  <settings>
    <out_dir>C:\game-voice-dir</out_dir>
  </settings>
  <actor name="Ford">
    <line txt="Looks like a fish, moves like a fish, steers like a cow."/>
    <line txt="Time is an illusion. Lunchtime doubly so."/>
    <line txt="You're a load of useless bloody loonies!"/>
  </actor>
  <actor name="Arthur">
    <line txt="Charming man. I wish I had a daughter so I could forbid her to marry one."/>
    <line txt="Ah, this is obviously some strange usage of the word 'safe' that I wasn't previously aware of."/>
  </actor>
</phvoice>
enjoy!
fruki
fruki
Great tool. Surely I will use it!

P.S. I had a good laugh testing things!
Halifax2
Halifax2
Wow, that really is amazing. Nice technology, and definitely usefulness for more than just gaming placeholders.

There's only one thing that I would like to see implemented, and that is the ability to name the generated files manually.
Denzel Morris (@drdizzy) :: Software Engineer :: SkyTech Enterprises, Inc.
"When men are most sure and arrogant they are commonly most mistaken, giving views to passion without that proper deliberation which alone can secure them from the grossest absurdities." - David Hume
lonesock
lonesock
@fruki: Thanks! Glad you had fun!

@Halifax2: Thanks! I do want to make a commercial version, but I also want the free version to be of use to hobby game programmers, so I'm just trying to find the balance between feature sets of the free and paid versions. For the full version I was planning on a more flexible output scheme (custom hashing of the strings, custom multi-level directory hierarchy, etc.) If you would be OK with an optional filename specification per line of dialog, something like:



I'd be happy to put that in the free version. Would that work for you? BTW, you mentioned some uses apart from game resources...what other applications do you have in mind?

Thanks for the feedback, everybody!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.