The Daily Click ::. Downloads ::. Engine ::. SpeakyParse Engine
 

SpeakyParse Engine
Author: X-Member30434 Submitted: 30th November, 2006 Favourites:0
Genre: Engine Downloads: 144
Rated:


Edited By Phizzy [Ectoprods] on 12/2/2006

Edited By Phizzy [Ectoprods] on 12/1/2006

This is a speech synthesiser engine I just made.
It runs through a given string to check for syllables which it has a corresponding sound for.

It works by running through a list of lines formatted like this:

syllable|soundLocation|delay|length

syllable = Syllable to check for in text.
soundLocation = relative location of the sound to play for this syllable.
delay = delay (in MMF frames) to wait after syllable is processed.
length = number of characters to move the imaginary speech checking cursor after processing.

I've included three (one + two edited) syllable packs with it, though the original pack wasn't completely finished since I was getting a bit bored. It won't sound perfect because of this. Also because of the fact that it's a speech synthesiser but wuteva.
If you want me to expand the original syllPack, send me a DC-mail with the phoenetic sounds you think I need to add. I'm just bored of going through it over and over myself, really.

If you want to make your own syllable pack, then you need to remember to add the words to your syll.txt in order of LENGTH. Four-letter words come before two-letter words etc.
This way, if you have "to" and "tor", "tor" is seen before "to" to stop it from saying "to-r."

This could potentially be used for voice-overs and stuff.
I hope you humans can make some use of it.

Size is due to 375 *.wav files by the way.

Included is the MMF1.5 source and an executable, along with a basic MMF2 source that's not as good due to the lack of external sound-playing extensions. This could probably be easily converted to TGF. Might try that later.

Edit: Bugfix! Shouldn't get stuck on unknown characters any more. Added an optional text typing mode, so the text appears as it is spoken.

Review This Download



 


http://phizzy.sitesled.com/tutorials/SpeakyParse.zip (5.29mb )



Posted by Peblo 30th November, 2006

PEBLOH!

Yeah you're a fucking awesome coder.
 
Posted by AndyUK 30th November, 2006

a little off sometimes, but great work i must say.
 
Posted by axel 1st December, 2006

Hahaha, awesome. I'd make a syllable pack, but my mic is broked
 
Posted by axel 1st December, 2006

PENIS.
 
Posted by Ganymede Graphics 1st December, 2006

Omg your amazing.
 
Posted by axel 1st December, 2006

*You're
 
Posted by Johnny Look 1st December, 2006

You're starting to surprise me.
 
Posted by Hempuli 1st December, 2006

this was AWESUM!
 
Posted by Retired Kliker Lazarus 1st December, 2006

YOU SHOULD BE A DCOTOR, MY GOOD SIR.
 
Posted by Aptennap 1st December, 2006

I'm really suprised about the quality of this particulary good engine, outstanding! OMYROXXORS
 
Posted by Willy C 1st December, 2006

This is a top quality engine. Like Microsoft sam, only I can add my voice to the program and make me say inappropriate things! Thumb up!
 
Posted by DaVince 1st December, 2006

This really rocks, dude. Retarded MS Sam at its best.
 
Posted by Noyb 1st December, 2006

Very nice job. Perhaps some common words that it messes up on (like "the," "me," "one," "all," or "arse") could be hard-coded or something.
 
Posted by 1st December, 2006

'the' seems to work fine... It's best to stick to either uppercase or lowercase, though. 'THE' and 'the' will be recognised but 'The' won't...
 
Posted by ..:.Phox.:.. 1st December, 2006

awesome as always

great work mate
 
Posted by Joe.H 2nd December, 2006

doesnt seem to work if you start a new line and type

 
Posted by Joe.H 2nd December, 2006

Also, you could do it so it converts the whole string to lowercase before running it through the speech thing.
 
Posted by ben mercer 2nd December, 2006

Wow, I'd never expect something quite so non-twisted to come from Phizzy, and it's actually pretty damn cool too.

I hate the fact that half of the MMF2 extensions haven't been ported, can't be ported, or have been ported in a half baked fashion that doesn't take advantage of MMF2's new features.
 
Posted by 2nd December, 2006

Oops, my thing to skip unknown characters isn't working. I will try fixy.
 
Posted by 2nd December, 2006

Got it, not all of the list object's expressions switch to a 0-based index. Which is annoying. Okay, so I've fixed that and added an option for either typewriter text or speech-time text. Didn't update the MMF2 thing.
 
Posted by DeadmanDines 3rd December, 2006

Nifty! Possibly a better idea could be to make it work by phonetics, but I think we all appreciate how much work has gone into making this!!
 
Posted by Bibin 5th December, 2006

Kicks ass.
 
Posted by Reno 8th December, 2006

in your sounds list you should have added "Phizzy" nd "Reno" as words that are pronounced orrectly
 
Posted by awesomeasapossum 23rd December, 2006

Hey, can you release this for TGF please?! I'd be interested to see if it'd be possible to make this into some sort of kaereoke game or something. Maybe you should try it too!
 

 



Author

Favourite



Advertisement

Worth A Click