PLUGIN: AGS_SAPISpeech - Text spoken by synthetic voice

Started by visy (the guy who made Lassi Quest), Sat 08/07/2006 22:38:01

Previous topic - Next topic

visy (the guy who made Lassi Quest)

EDIT: I'm quite sure it only works properly on Windows XP. (Works-for-me(tm)) for almost nobody. I'm not really sure why, but I'm looking into it.

Just a silly idea, really, but I implemented the Windows SAPI speech synth interface thingamabob as an AGS plugin.

It still needs a way to get the spoken line as a string or char[] or whatever, any help on this, so one could do like:

Speak("This is a text.");

from AGS.

Practical uses: Robots, computer terminals, Stephen Hawking as a character. Think: Speak("Hello", VOICE_FEMALE, SPEED_5);

Benefits: Lower filesize for speech using projects.
Downsides: Silly. Robotic. Useless. May only work on Windows XP or a Windows with SAPI installed.

Test program here.

I'd like to hear from people who get the test program to work, including their hardware setups. It should Display and speak "Kill the president".  ::)
Still working on 8-bit stuff, mostly NES and Atari 2600:
http://oldskool.wamma.fi


visy (the guy who made Lassi Quest)

Still working on 8-bit stuff, mostly NES and Atari 2600:
http://oldskool.wamma.fi

Besh

second Fatal Error!
I'm using WinXp sp2.


However this is an amazing idea!!!
Good luck!!!
"Spread our codes to the stars,
You can rescue us all"
- Muse

visy (the guy who made Lassi Quest)

Odd, seems that it only works on my PC.

I'm looking into it! ;)
Still working on 8-bit stuff, mostly NES and Atari 2600:
http://oldskool.wamma.fi

Ashen

And a third error.
The message, if it helps, is:

Quote
---------------------------
Illegal exception
---------------------------
An exception 0xC0000005 occured in ACWIN.EXE at EIP = 0x00434226 ; program pointer is +9016, ACI version 2.72.920, gtags (0,0)

EDIT:
Sorry, WinXP sp2 as well.

EDIT2:
Ditto my sp1 laptop.
Must be the diodes on the left side.
I know what you're thinking ... Don't think that.

Privateer Puddin'


DoorKnobHandle

I get the same error Ashen got with Windows XP and SP2.

visy (the guy who made Lassi Quest)

Okay! Puddin' got it working. I guess it has something to do with the library itself, then.

Do you have SAPI 5.1 installed separately?
Still working on 8-bit stuff, mostly NES and Atari 2600:
http://oldskool.wamma.fi

Privateer Puddin'

I'm pretty sure that I don't, and I can't find any traces of it.

pcj

Same error for me, WinXP SP2+, SAPI is installed, latest version.
Space Quest: Vohaul Strikes Back is now available to download!

visy (the guy who made Lassi Quest)

Okay... It may also have something to do with Allegro's sound and some soundcards.
Still working on 8-bit stuff, mostly NES and Atari 2600:
http://oldskool.wamma.fi

SMF spam blocked by CleanTalk