[BUG] Speech command broken [my mistake and solved]

Started by subspark, Mon 05/05/2008 11:36:37

Previous topic - Next topic

subspark

I've tried everything to get speech to play.
The following code won't play speech:
Code: ags
cEgo.Say("&5 Are you a bug?");


Cheers,
Paul.

Pumaman

Come on, you'll need to provide more details than that!!

For example, is it just that one line that doesn't work? If you trying using a different sound file, does it work then? If so can you upload the sound file that causes the problem?

subspark

Sorry Chris. I honestly don't mean to bother you.
I tried a multitude of sounds and none of them worked in any of my test games. I figured if it was a bug then its a pretty obvious one and I didn't really expect you to have much success either.

Theres actually not much more I can tell you other than the wav format I'm using.
The speech files are 44,000Htz 16 Bit Mono. Every other sound is the same but Stereo and I have tested both formats.
Again I'm using Vista with DirectX 10.1

I hope I'm wrong about the bug but I really can't think of anything I'm doing wrong here.
Paul.


GarageGothic

#3
Which folder is your speech.vox file in? I remember on some of the older versions I had to copy it from the compiled folder to the source code folder to be able to test without compiling. Not sure how this is handled with AGS 3.0's test function.

Edit: Also make sure that your audio files are named properly, e.g. ego5.wav rather than ego05.wav. You may try converting your files to .ogg format to see if that works better. There's known issues with certain .wav encodings.

subspark

Whoops. I'm so sorry gentlemen. In the late hours of the night I completely failed to remember to name my speech files as characternameX.wav rather than speechX.wav.

Everything else seemed to be in order which is why I assumed this was broken in the latest build.
Do forgive me please. I'll try and be a little more organized next time.

Paul. :-[

Pumaman


SMF spam blocked by CleanTalk