Audio Speech File Not Playing - [SOLVED]

Started by Adeel, Sun 06/10/2013 19:11:28

Previous topic - Next topic

Khris

By "treating us like idiots", I was referring to what I perceived was you trying to shift the blame to the manual.
I read your post, and immediately thought "you missed it, suck it up, don't blame the manual". But I believe you when you say that shifting the blame wasn't your intention, and like I said, I overreacted.

Ryan Timothy B

Quote from: monkey_05_06 on Thu 10/10/2013 21:20:48
Yes. I consider you my nemesis. One of several actually. Alongside Ryan Timothy.
I freakin' knew it. I suppose that's what I get for being too frank - it's probably why I don't post as much anymore.

Rafundo

Hi all, I have the exact same problem. I mean, I'm following AGS tutorial, FAQ, and ingame-help and all what I wanted to do was this:

Code: ags
function room_AfterFadeIn()
{
//aMusic01.Play(eAudioPriorityLow, eRepeat);
cSammy.Say("&1 Here goes some text to test.");
}


I have recorded a sound with microphone, changed to *.wav extension with the name SAMM1.wav. Note that my char script name is "cSammy". But it doesn't work. I have reviewed all what I could and didn't find the problem. This is the sentence that shows up in warning log:

(in room 3): Speech load failure: '~speech.vox~Samm1.mp3'

However the file size of Speech.vox and Samm1.wav is exactly the same.

Could anybody help me, please?
Thankyou guys.

Crimson Wizard

#43
If everything else is correct, there was an issue found before that some WAVs don't work in AGS.
Try importing same wav as a common sound and playing it in script as
Code: ags

aMySound.Play();


Also, try putting just any random OGG or MP3 as Samm1 voice file (keeping correct extension, of course) instead of your wav.

Rafundo

Hi, first of all, thank you for answering!
I have tried to listen from AGS the WAV and it seems to be an error due to AGS does not reproduce any sound. After this I have changed my script to this:

Code: ags
function room_AfterFadeIn()
{
//aMusic01.Play(eAudioPriorityLow, eRepeat);
cSammy.Say("&1 Puedo elegir entre ir Australia, visitar New York o volver a España.");
//aSamm1.Play();


I have switched "//" between the 2 lines to see if works. If I run the code this way:

Code: ags
function room_AfterFadeIn()
{
//aMusic01.Play(eAudioPriorityLow, eRepeat);
cSammy.Say("&1 Puedo elegir entre ir Australia, visitar New York o volver a España.");
//aSamm1.Play();


No sound at all.

If I run this way:

Code: ags

function room_AfterFadeIn()
{
//aMusic01.Play(eAudioPriorityLow, eRepeat);
//cSammy.Say("&1 Puedo elegir entre ir Australia, visitar New York o volver a España.");
aSamm1.Play();


It sounds! Note that after seeing that *.wav could be the problem, I have taken a random song in mp3 and placed as SAMM1.mp3 on Speech folder.

Crimson Wizard

Quote from: Rafundo on Mon 15/08/2016 23:27:57Note that after seeing that *.wav could be the problem, I have taken a random song in mp3 and placed as SAMM1.mp3 on Speech folder.
Sorry, I am not sure what you meant, did your mp3 work as a voice or it failed as well?

SMF spam blocked by CleanTalk