Audio Speech File Not Playing - [SOLVED]

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

Previous topic - Next topic

Adeel

Hello BTQ, long time no see! :)

Since the last time I visited here, I've learned much about AGS
Scripting and still continue to do so. I, however, don't have any prior
experience of Voice Scripting. Therefore, I decided to have a go. But
unfortunately, I've come across a problem and I don't know what to do
now.

My character name is cMom. I wanted to add voice speech for this
character. I read the manual and followed its instructions. I copied my
voice clip (.mp3 file) in the game's Speech Folder and named it MOM01
(faithfully similar to the manual entry).

Then I added the following code:

Code: ags
function cMom_Interact(){
    cMom.Say("&01 Why is your room so messy every time I walk in 
here?"); //lets name this whole line "A" for now.
}


But no sound/voice is played. I thought that maybe I accidentally turned
volume down either within game or externally. But when I checked,
neither was true. I added a sound effect and it was playing fine. Then I
thought that maybe something is wrong with this clip so I even copied a
song (.mp3 file) into my Speech folder and renamed it to MOM08. But
still, no voice is played when I call the following code:

Code: ags
function cMom_Interact(){
    cMom.Say("&08 Why is your room so messy every time I walk in 
here?");// lets name this whole line "B" for now. 
}


I checked my Compiled folder and speech.vox was present with the
exact size of my Speech folder. I tried rebuilding my files but to no
avail. After some more banging my head on my desk, I noticed a
warnings.log created in my game folder. It said:

(in room 6): Speech load failure:
'~speech.vox~Mom1.mp3'
  ---- when I were using A.

and

(in room 6): Speech load failure:
'~speech.vox~Mom8.mp3'
  ---- when I used B.

I wanted to know:

1. Why is the game failing to load speech?
2. Is .mp3 not properly supported by AGS?
3. What am I doing wrong?

I searched the forums before posting here. But I couldn't find something
similar of this nature.

Thanks in advance. :)

Crimson Wizard

#1
I think the answer is in your question:

Quote from: Adeel S. Ahmed on Sun 06/10/2013 19:11:28
My character name is cMom. I wanted to add voice speech for this character. I read the manual and followed its instructions. I copied my voice clip (.mp3 file) in the game's Speech Folder and named it MOM01 (faithfully similar to the manual entry).

(in room 6): Speech load failure: '~speech.vox~Mom1.mp3'  ---- when I were using A.

(in room 6): Speech load failure: '~speech.vox~Mom8.mp3'  ---- when I used B.

AFAIK there should not be any preceding 0's in filenames. Also, you do not have to put 0's in the speech lines as well:
Code: ags

cMom.Say("&01 ");
// this should have same result:
cMom.Say("&1 ");


E: Just a guess: maybe you misinterpreted example from manual:
Quoteego: &10 "Hi! How are you?"
david: &7 "I'm fine."

This would play EGO10.WAV with the first line, and DAVI7.WAV with the second

In EGO10.WAV - the third symbol is O (letter), not 0 (digit).

monkey0506

#2
Quote from: Crimson Wizard on Sun 06/10/2013 19:26:17In EGO10.WAV - it is O (letter), not 0 (digit).

No it isn't. That is the tenth speech line. (wtf) it is the integer 10, not a number 1 and a letter O.

Edit: Scratch that. Sorry, I was...um... I see what you meant. (lol)

Khris

#3
Monkey:
It's "EG", then the letter O, followed by a 10, which Adeel apparently read as 010.

I'm wondering though. You have used a file called MOM01.mp3, and AGS tells you it can't find MOM1.mp3. The manual entry also mentions DAVI7.mp3 ...
It's especially hilarious that you actually said you did this "faithfully similar" to the manual entry :-D

monkey0506

Heh, yeah I just realized what CW was saying. Yes, speech files are always named XXXXYYY.EXT where XXXX is the first four letters and/or numbers of the character's name (sans the leading 'c'). So for "cEgo" this is "EGO", for "cGuybrush" this is "GUYB" and for "cRob1" this would be "ROB1". The YYY is the speech file number with no leading or trailing zeroes or padding of any kind. EXT is just the file extension, such as WAV.

Crimson Wizard

lol.
Ok, I fixed my post to prevent misunderstanding. ;)

Adeel

First of all, thanks for the input, guys :). Especially, a big thanks to Crimson Wizard & monkey_05_06 (nod).

No, I didn't misinterpreted EGO10.WAV as 010 (laugh). There were two reasons which is why I used a 0 before 1:

1. Easier to read.
2. Looks cool ;)

Quote from: Khris on Mon 07/10/2013 03:20:34
[...] It's especially hilarious that you actually said you did this "faithfully similar" to the manual entry :-D
Well, when I wrote faithfully similar, I had capitalization in my mind. Never in my mind it occurred that it was just a zero causing all these problems. :P

Thanks once again, guys. Sorry for my very late reply. I were so busy that I didn't even check the Internet for two, full days 8-0!

Quote from: monkey_05_06 on Mon 07/10/2013 03:24:13
[...] Yes, speech files are always named XXXXYYY.EXT where XXXX is the first four letters and/or numbers of the character's name (sans the leading 'c'). So for "cEgo" this is "EGO", for "cGuybrush" this is "GUYB" and for "cRob1" this would be "ROB1". The YYY is the speech file number with no leading or trailing zeroes or padding of any kind. EXT is just the file extension, such as WAV.

This is such a nice explanation. Crimson, will you please add this in the manual's Speech section? Because it isn't mentioned in manual that speech files will not be played if there are any leading or trailing zeros.

Cheers! ;-D

Khris

The manual gives a total of three examples of the filename format, and you got a warning that told you exactly why it didn't work, yet you want the manual be changed because you stupidly did something because it looked cool?
Riiiiiiight.

Adeel

Quote from: Khris on Thu 10/10/2013 00:02:32
The manual gives a total of three examples of the filename format, and you got a warning that told you exactly why it didn't work, yet you want the manual be changed because you stupidly did something because it looked cool?
Riiiiiiight.

And was easier to read....

And its not for me (for I've learned), its for the others who may ever get stuck simply due to this problem. And never did I say to change the manual. I only requested to add the monkey's paragraph along with the already present text.

Khris

If adding something to the manual isn't changing it, how about we leave the manual in its exact current state then? (roll)

Adeel

Khris, I requested CW, not you. So I wouldn't have mind at all if he replied the same. But you, sir, didn't help me and went on to mock me. Please, don't act like you're compiling the manual and/or coding the engine or its your duty to insult everyone who make mistakes stupidly (a mistake without stupidity isn't a mistake at all). (wtf)

I confessed honestly. What was stopping me not to post that I tried to go this way because apart from being easier to read, it looks cool? But I confessed because I were mistaken and felt sorry for my stupidity! What are you going to do now? Throw me in prison for several years for that?

And I didn't said to alter/change the text (which, your previous post suggested, I were trying to do). I only said to add the paragraph.

Crimson Wizard

Formally speaking, manual does not provide a strict format description, it just sais "ID number". Can engine parse the number with leading zeroes correctly? Who knows (in some other cases it does, e.g. speech numbers in text). Less technically savvy person may not even consider this as a possible problem.

The manual currently states: "The file name is made up of the first four letters of the character's script name, then an ID number".
What's wrong in adding, for example, "...then an ID number with no leading or trailing zeroes or padding of any kind"?

PS. BTW, there was a topic on improving the manual:
http://www.adventuregamestudio.co.uk/forums/index.php?topic=46471.0

Adeel

Thank you, Crimson Wizard. Sir, you made a valid point from a beginner's point of view. (nod)

monkey0506

In the sake of objectivity (and in no way allowing myself to be influenced by the fact that Khris is one of my nemeses), it's fair to say that the description in the manual could use some elaboration.

The leading zeroes in the text-strings (e.g., "&01 Hello World!") aren't problematic because the engine is trimming out the digits and then converting that to an integer (in AGSpeek: String s = "01"; int speechNum = s.AsInt; ), but when the engine is looking for the actual speech file it's using a filename without leading zeroes (e.g., "EGO1.wav"). That's why this all came up in the first place, and the manual doesn't clearly state that the formatting should not have leading zeroes or padding.

Eh.

Khris

I actually agree that switching to a numbering system of CHAR0001, CHAR0002, etc. makes more sense, since sorting that list alphabetically doesn't any longer produce the current non-order of CHAR1, CHAR10, CHAR11, CHAR2, etc.

But putting all kinds of superfluous "contents is hot" warnings all over the manual is stupid. And we already know that people don't read them anyway. Just think about how often we get the infamous "why is my dialog not called until after my other commands" question.

Also, I'd rather gnaw off both my arms at the shoulder than request a manual change due to me screwing up like this. That's why I'm so unforgiving here. It's a symptom of the general attitude of "everything else is broken, not me though". And I simply despise it.

And monkey:
Nemesis, really?
And claiming that your subjective opinion about the change is objective doesn't make it so.

Adeel

You're right, monkey_05_06. :)




Quote from: Khris on Thu 10/10/2013 13:33:53
Also, I'd rather gnaw off both my arms at the shoulder than request a manual change due to me screwing up like this. That's why I'm so unforgiving here. It's a symptom of the general attitude of "everything else is broken, not me though". And I simply despise it.

Its your way of taking it like that. I just wanted a warning line to be added, if in the unlikely case someone else ever gets stuck in the similar problem as mine. If this line saves even one person from the trouble, then it will be worth it. I don't want anyone wasting their time, thinking what went wrong. So, he/she can gladly move forward to learn something else and/or progress with their game. Time is most important, after all. Yes, I'm thinking about the very odds here, but you can't deny that it isn't possible!

And please, don't start about being forgiving or unforgiving here. You're not a king whose forgiveness is necessary for the puny citizens to live. I knew it was my fault i.e. I were doing something wrong (which is why I posted it here). I just requested the addition of that line because I wanted to save at the very least one future AGSer from this trouble. My fault, apart from including a zero in the filenames, was to: simply care.

Also, you can't seem to get out of the delusion that I want that paragraph to be included for myself. Why would I want a line to be added in the manual for myself? I can remember easily what I'm told (thanks once again, CW & monkey). And if I really needed to take written notes, can't I just copy and save these advices in a document? (roll)

Crimson Wizard

Quote from: Khris on Thu 10/10/2013 13:33:53
But putting all kinds of superfluous "contents is hot" warnings all over the manual is stupid.
But why is this stupid in this case? If program expects very precise number format, that should be reflected in documentation. Of course, it is not hard to make few experiments, but the sole fact that this may require experimentation already shows that the documentation lacks in detail.

Khris

Adeel, this isn't about whether I forgive you or not, the entire notion is ridiculous. I merely explained why requests like these make me angry. I can't help it, I hate this entire culture of accommodating every little shitty whim just because it's polite or whatever.

If everybody else thinks that cluttering up the manual with shit like that is the way to go instead of expecting people to actually use whatever's between their ears, go ahead. It's not like you need my blessing.

Crimson Wizard

#18
Quote from: Khris on Thu 10/10/2013 15:01:23
If everybody else thinks that cluttering up the manual with shit like that is the way to go instead of expecting people to actually use whatever's between their ears, go ahead.

Following your vision of what documentation should be we probably need to remove these lines from the manual:
QuoteNOTE: You cannot use speech file numbers above 9999. That is, you can have EGO1.OGG all the way up to EGO9999.OGG, but not EGO10000.OGG or higher.

Really, why tell this to the user? They have brains, don't they? If they make voice tag >10000 and it won't work, they will realize it is an engine's limitation and will proceed using voice numbers accordingly.


Khris, you keep telling that no one is reading the manual. But while you can count those who did not read (properly, or at all), can you really count those who did read manual and therefore did not ask question on forum?

Khris

#19
I'm sure you realize that's not a valid comparison.

Edit: I see your second point, but since I'm not suggesting to take anything out of the manual, I fail to see its relevance.

Edit 2: another reoccurring question is how to distinguish which inventory item was used. In my book, this is clearly something that should've been added to the tutorial years ago. And doing so was suggested multiple times, yet it's still not in there, afaik.
How come?

Crimson Wizard

Quote from: Khris on Thu 10/10/2013 15:15:36
I'm sure you realize that's not a valid comparison.
Alright, I agree, these two cases are much different by the importance of the knowledge (and possible consequences of lack of one).
But they are the similar in that they give precise information of how engine work, and what it expects from user.

People may think differently; their views on how the number may be presented (what format) may differ. That's why it may be useful to specify it.
I am not telling this information has ultimate importance, but at the same time it is not useless notation made for idiots.
Especially in the light of the fact that engine normally recognized numbers preceded by zeroes in script, as I mentioned above.

Khris

When I said it's not a valid comparison, that's not what I meant.

Telling the player that they can only go up as far as 9999 is useful and important information.

But telling them how the format works does not require also telling them how it doesn't work. When I enter an elevator and see buttons ranging from 1 to 10, I don't need a note that tells me that there's no 11th floor. I also don't need a note that the elevator doesn't work with voice commands. I also don't need a note that tells me that pulling on the button using a suction cup won't work. And I won't need a note that tells that no, even pressing the blank part of the panel above button #10 will not take me to floor 11.

Accordingly, giving the example of EGO10 and DAVI7 does not require to spell out that adding leading zeros will not work. Let's not forget that in order to get into this situation, Adeel consciously didn't follow the manual and failed to process a warning message that clearly spelled out the exact problem.
I don't care whether adding the note might help some other smart alec five years from now.

I'm all for changing or adding to misleading or unclear passages. This isn't one.

Crimson Wizard

#22
Quote from: Khris on Thu 10/10/2013 15:57:08
But telling them how the format works does not require also telling them how it doesn't work.
But it doesn't state how it works exactly. And this is my point.

Quote from: Khris on Thu 10/10/2013 15:57:08
I also don't need a note that the elevator doesn't work with voice commands.
EDIT: I had to remove silly things I said here before. I did not say precisely what I wanted to.
I meant to tell that in our world people are used to the fact that elevators do not commonly use voice control. But what if they commonly did have voice control?
What I was telling in the post above is that having leading zeroes is not so uncommon in number formats. So why people should expect that they won't work here without any notice?

Similarily -
Quote from: Khris on Thu 10/10/2013 15:57:08
Accordingly, giving the example of EGO10 and DAVI7 does not require to spell out that adding leading zeros will not work.
These are examples of things that work, but there's no indication that others won't. And I believe that people have a right to ask: will it work if I put leading zeroes to make my files sort better? The manual does not tell that you can't. It does not tell that you must not. It tells only that you may do without them.


Quote from: Khris on Thu 10/10/2013 15:57:08Let's not forget that in order to get into this situation, Adeel consciously didn't follow the manual and failed to process a warning message that clearly spelled out the exact problem.
Adeel's mistake was about overlooking a hint in the warning text. In my opinion it wasn't a mistake, in common sense, that he tried to use different format.

Calin Leafshade

Quote from: Khris on Thu 10/10/2013 15:01:23
I hate this entire culture of accommodating every little shitty whim just because it's polite or whatever.

I wonder what the world would be like if you were polite.

selmiak

why not add
don't screw up as Adeel did, don't add leading zeros or other filler between charname and filenumber within your filename.
then it is written and adeel is stigmatized for all eternity in the manual and khris can feel like he is actually flaming him right in this moment everytime he reads this paragraph.
Well, actually this is not meant serious, but in all seriousness adding another small line to the manual that you shouldn't do this will do more good than it will hurt anybody (except for the person spending 5 minutes on updating the manual) as I also am guilty of sometimes numbering repetitive files with leading zeros even though modern file browsers allow for more humanfriendly file sorting, probably just because it creates strings of equal lenght. Or CW changes the engine to check for filenames with leading zeros when these are entered in the editor or check for them anyways when the file is not found...

Calin Leafshade

Side note: the nemesis thing was creepy.

Khris

#26
I love you guys. You never disappoint.

Do whatever you want. I stated my case, nothing that was said was not already expected by me, and I'm not changing my view that it's wrong to accommodate every little shitty whim, or that manuals shouldn't be collections of speculative warnings but of simple, clear instructions.

By all means, change the engine to also support files with zeros in them. Absolutely nothing wrong with that.

Crimson Wizard

#27
Quote from: Khris on Thu 10/10/2013 17:56:06and I'm not changing my view that it's wrong to accommodate every little shitty whim
I am sure there should be a scientific name for this trick. Something about substituting a subject of discussion.
By the way, to be completely frank, this was the only reason I actually got myself into this argue (although at first I had no intentions to do so). I don't like be blamed in something I don't do. Especially, in an assholish manner like this.

E: Oh my... does this mean I was actually tricked by a troll? :-\

Quote from: Khris on Thu 10/10/2013 17:56:06or that manuals shouldn't be collections of speculative warnings but of simple, clear instructions.
Yet you seem to keep ignoring the point (or seriously don't understand??) that saying "followed by number" in the context of file name, while system requires precise number format (out of few common ones), is not a clear instruction.

monkey0506

Quote from: Khris on Thu 10/10/2013 13:33:53And monkey:
Nemesis, really?

Yes. I consider you my nemesis. One of several actually. Alongside Alan v. Drake and Ryan Timothy.

Quote from: Khris on Thu 10/10/2013 13:33:53And claiming that your subjective opinion about the change is objective doesn't make it so.

That's your subjective opinion of things!

Quote from: Calin Leafshade on Thu 10/10/2013 16:56:53Side note: the nemesis thing was creepy.

Don't worry, you're one of them too. I have many nemeses in these forums. Another notable one is SSH. CW keeps petitioning me to let him be one, but he never will be.

Adeel

Everything said here already. However, there are somethings that I needed to say:

Conclusively, I must say (and repeat) that: We could've avoided this whole debate if you hadn't replied and simply ignored in the first place. When I first asked a question, it was addressed to a general audience. Hence I didn't mind of you mocking me then.

Afterwards, I asked CW a question. You neither write/maintain/edit the manual nor you were requested by me to do so. He would've replied as he deemed fit and I'd have gladly accepted it. Even if you found my question stupid, you could've just ignored me but no, you mocked me. Because you're the only brains we've left in whole universe and this gives you a personal right to insult anyone. This time, I were going to mind!

Maybe you think of me as silliest of silly because of my jolly tuned posts.So, do you really think posting in a jolly tune and purposelessly joking with all those colourful smileys makes someone silly? Then, think again. I can post in the dark tones as well or chase the people to insult them. But this is a place to have fun, not to vent out your frustration. The symptoms you described of the attitude: everything else is broken, not me though - defines you the best. Sorry, but I'll be always be stern whilst talking to you otherwise you'll think of my jolly tune as silly. You will not mind too, because after all, it is your very own way of speaking with others and you'll have to deal with it like everyone else does so with you.

As for the notion about whether you forgive me or not being ridiculous - I'm glad that we're agreeing on a point here. Frankly sir; I simply don't care about whether you get angry or not due to my questions, because:

- I know your nature very well.
- Since you are much experienced, therefore my question will always come off as amateurish to you!

But hopefully, there are other people who'll help me out and DON'T shove this down my throat: hey I helped you, get it? You were too silly to run into this problem. You should learn from me, for I've not ever committed a single mistake.

Also, my last question was 7 months ago (when I'd joined). So, I can't really understand why you went bat-shit crazy if my question was silliest even from your standards. It would've made more sense if I had been creating threads by threads asking: Hi, how to make my character move forward? - I hope that this question isn't asked too many times before: How do I make a character kill his dad? (roll)

Khris

CW:
The manual gives several examples of the proper format, namely EGO10.WAV, DAVI7.WAV, EGO1.OGG and EGO9999.OGG. (snore)
So no, I seriously don't understand how the sentence you quoted, illustrated by four examples, can be considered "not a clear instruction."
And your insistence to the contrary is starting to sound really funky.
Feel trolled and blamed all you want, but I have no idea where you're getting that from. I never attacked you personally in any way.

Adeel:
You got me, I'm evil incarnate, and bat-shit crazy, and all I want whenever I visit the forums is to vent and ridicule jolly people. It's all I live for, and I'm specifically out to get you, Adeel S. Ahmed.
Now that you have uncovered my heinous plan, I must leave my current host and inhabit someone else within 24 hours, or else I must descend into the 7th level of hell. Damn you for having discovered my only weakness!

Or maybe I'm just a regular guy who occasionally gets peeved about people who do stupid shit and who doesn't shy away from speaking his mind.

I'm pretty sure it's one of the two, and since you know my nature very well, surely you can figure it out.

monkey0506

Quote from: Khris on Fri 11/10/2013 01:16:35I'm evil incarnate, and bat-shit crazy, and all I want whenever I visit the forums is to vent and ridicule jolly people.

The first step is admitting that you have a problem. :=

MiteWiseacreLives!

It's probably dumb for me to weigh in on this, But...
Quote
Following your vision of what documentation should be we probably need to remove these lines from the manual:
QuoteNOTE: You cannot use speech file numbers above 9999. That is, you can have EGO1.OGG all the way up to EGO9999.OGG, but not EGO10000.OGG or higher.
The explanation of what is a number above 9999 would not be necessary for most six year old children.
The appropriate number format for a speech file, perhaps mentioned once somewhere, would be far more useful.
I'm sorry your dead inside Kris, but you are really good with AGS if that helps you.

Crimson Wizard

Quote from: Khris on Fri 11/10/2013 01:16:35
The manual gives several examples of the proper format, namely EGO10.WAV, DAVI7.WAV, EGO1.OGG and EGO9999.OGG. (snore)
So no, I seriously don't understand how the sentence you quoted, illustrated by four examples, can be considered "not a clear instruction."
And your insistence to the contrary is starting to sound really funky.
Khris, lol, what we are arguing about?
I am not telling that no one would understand which format he may use from those examples. I am saying that people sometimes get erroneous assumptions, based not on their stupidity, but on their personal experience with computers, programs and documentation. What I mean here is that sometimes examples do not cover all possibilities, and some features may not be thoroughly documented.
Hence, some will look at this description and assume that they cannot use other number formats. Others may assume that maybe they may (at least there's a reason to try that out). Also, my opinion is that the definition of format should be explicit, and examples are only optional (provided as an extra help). That's why I don't see the suggested addition superflous (not that I see it ultimately obligatory though, this is just a matter to save people little time and nerves). And, for certain, I don't see it like "accommodation of every little shitty whim" (and yes, I was somewhat insulted by this, but whatever, this is my personal problem).


PS. Note about troll was a joke.

Calin Leafshade

I think you might be missing the point, Khris.

No one (at least not me) gives a shit about whether the note is added to the manual. It's kind of irrelevant.

The issue here, and I won't sugar coat because you clearly have no time for that, is that you are being a cunt.
It's exactly the same response you got after calling that guy a "braindead moron" after his first post.

I don't doubt that your intentions are good but I think you've been on the internet too long and have forgotten that there are actual people behind the usernames.

When the guy suggested a manual change would it have killed you to say something like "Well I'm not sure that's really necessary but it might be useful, we'll see what others say."?

But no, you're response was to say OP had done something stupid even after the issue had been solved.

We're sorry that we can't live up to your standard of greatness but perhaps you can find some empathy lying beneath your massive intellect just to make us all feel a little less shit upon.

mmmk?

Khris

[removed actual reply to address Calin's point, which really is the only relevant one by now]

Just two things:
I did NOT call this other guy a braindead moron. People read it into what I wrote, but all I wanted to do is emphasize the point that the mistake he found is NOT so bad that it would stop every newbie in their tracks. The fact that he found this error, according to what I wrote, by definition makes him precisely NOT a braindead moron.
I just thought he was making a ridiculously large fuzz about this puny, easy to realize error, and mocked him for that a bit.

As for the current discussion:
Yes, I can be a really arrogant prick. Like I said, nothing that was said here was unexpected by me. I'm aware that people will react this way.
But sometimes the stuff I read here is just exasperating. I'm well aware that I should simply move away from the keyboard and do something else, then get back to it after a while. I'll try harder.

Edit:
Let's also agree that stupid is a huge grey area, mmmk?

Calin Leafshade

+1 internet point for mature and responsible reply.

Adeel

#37
Quote from: Khris on Fri 11/10/2013 01:16:35
Adeel:
You got me, I'm evil incarnate, and bat-shit crazy, and all I want whenever I visit the forums is to vent and ridicule jolly people. It's all I live for, and I'm specifically out to get you, Adeel S. Ahmed.
Now that you have uncovered my heinous plan, I must leave my current host and inhabit someone else within 24 hours, or else I must descend into the 7th level of hell. Damn you for having discovered my only weakness!

Hmmm... So finally, his Highness got offended. Truth is hard to digest, after all.

Quote from: Khris on Fri 11/10/2013 01:16:35
[...] Or maybe I'm just a regular guy who occasionally gets peeved about people who do stupid shit and who doesn't shy away from speaking his mind.

If you look closely, we all here are regular guys who have done something stupid at least once in their whole life and regretted later. We, too, don't shy away from speaking our minds. (roll)

But there's something called: Way of Speaking. Consider this:

QuoteFrankly sir; I simply don't care about whether you get angry or not due to my questions

I could easily have this as well: I simply don't give a shit about whether you get angry not due to my question. So please, fuck yourself!

Both sentences have the same meanings. The difference is that one is polite and conveys my point of view in it's true essence. The second one, I'm afraid, shows me off as an arrogant, stubborn kid who refuses to accept his fault!

Addition to your new reply:

Many chances are that someone wouldn't get stuck due to this problem. If anyone ever did get stuck into this similar problem. So, the time wasted scratching the head "What the fuck went wrong?" depends upon that person. He/She will surely wander that why is not my game playing audio speech files even though the game compiles fine? And please don't tell me that they can easily look at warning.log. They surely can but it's a possibility that they could miss it because there are many files already present in the directory.

Do you really think I just came here to ask question and did nothing myself? I took extra care to eradicate the issue myself because I know how often the questioners in BTQ are thrashed.

Spoiler
I spent an hour thinking what I did wrong. There were many things coming to my mind at that time (when I searched for the similar topics). Is my the bit-rate or audio sample rate of my audio clip supported by the engine? Is .mp3 known to cause some issues in the game? I also copied another clip (a song, to be precise) to check whether the bit-rate and/or audio sample rate is the real problem. Then I build an .exe thinking that maybe playing of speech files are not supported in debug. Finally, I noticed a warnings.log. Had I not found the warnings.log, I would've went on to check whether the .ogg speech files are more supported or .wav
[close]

Finally, I realized that it was my mistake to add a leading zero. I learned my lesson and never to going to forget that now. I thought that I should request the paragraph monkey explained to be included in the manual. Why? Because I never wanted anyone to repeat my mistake and learn the hard way if he/she gets into this problem the first  place (which is very unlikely but not impossible).

When I requested, I knew my request could be easily disregarded if the person I intended to ask deemed it not strong enough to include it in the manual. I failed to realized that you will stand up and piss on my face. Why were I so stupid not to realize this? (wtf)

The intentions I had in mind was that: Let newcomers know about this note so that we wouldn't find someone stuck in this case. He/She can do other productive things in the time he/she would spent scratching his/her head wondering: What did I do wrong?

I can be a really arrogant prick..  If you can really be arrogant then you can also learn to keep your mouth shut. This is not an excuse to disregard others because you're so intelligent and wise. Being arrogant and when people come to bash you, saying: Like I said, nothing that was said here was unexpected by me. I'm aware that people will react this way. isn't going to make you a hero.

And you must know, area of stupid also covers those who deem themselves as intelligent and think of others as foolish.

EDIT: Nothing would give me more pleasure if you even add this into the manual:

Quote from: selmiakdon't screw up as Adeel did, don't add leading zeros or other filler between charname and filenumber within your filename.

Khris

Adeel:
I don't think I'm without fault and I don't regard myself as more intelligent than everybody else. I know I sound like I do sometimes, but I'm not delusional.

As to what exactly sparked this unpleasant episode: I had the distinct feeling that by requesting the note being added to the manual, you wanted to gloss over the fact that you missed what the problem was. I didn't act like I did because I'm a mean asshole, I did it because I genuinely thought you were treating us like idiots. Which is the one thing that makes me really mad.
Like I said, I overreacted.

Also: yes, feel free to tell me to fuck off if you deem it appropriate. I very much prefer it to polite drivel drenched in honey.

Adeel

I were getting the hint that maybe you didn't like the use of smileys. But one thing I try do at all the costs: I highly respect my teachers. I never treated anyone like an idiot especially those who help (read: teach) me. I'm not going to repeat my rant again as to why I requested.

And not once I tried to 'gloss' over the fact that I missed my problem. I'm still cursing myself and feeling guilty for making this mistake (probably more than I should).

And I still prefer politeness, 'sugar coating' (as you like to name it). For had I used harsh words, the direction of this discussion would've been somewhere else.

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