Animators Forum
Animators Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Moho (Anime Studio)
 Problems, Solutions, and General Discussion
 Papagayo Part Deux
 New Topic  Reply to Topic
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 10

Kelleytoons
Forum Admin



6503 Posts

Posted - 06/04/2012 :  1:04:31 PM  Show Profile  Reply with Quote
Yeah, I think in particular I need to see that audio file. You can send it direct to me if you'd like (mike at kelleytoons dot com). I have my suspicions but I need to have it in hand.
Go to Top of Page

videodv
Junior Member



United Kingdom
234 Posts

Posted - 06/04/2012 :  1:20:23 PM  Show Profile  Visit videodv's Homepage  Reply with Quote
Ok Mike I have sent the audio and original pgo file over to you

Regards
Chris.
Go to Top of Page

Kelleytoons
Forum Admin



6503 Posts

Posted - 06/04/2012 :  3:12:25 PM  Show Profile  Reply with Quote
Really? Sure you spelled my name right? (I haven't gotten the file yet and it's not in my spam filter either. After two hours we would start to wonder unless you're on dial-up).

If the file is large it may have been trapped at your end or mine.
Go to Top of Page

Kelleytoons
Forum Admin



6503 Posts

Posted - 06/04/2012 :  3:20:48 PM  Show Profile  Reply with Quote
Also, in the meantime, I'd like to point out that you have entered words into Papagayo that you did not correct (Papagyo and kellyytoons, for two). You should have gotten errors on these in Papagayo when you generated the text. You cannot simply ignore errors in that program -- you must correct resolve all words.

Normally you do this by either respelling or changing the word into smaller units that Papagayo DOES recognize. For example, kellyytoons (even if spelled correctly) would not exist in the Papagayo database. But the words kelly and toons probably would. If toons is not there, you can use tunes, since you are only after phonetic matches.

And in reality, you don't even need phonetics but LIP matches. If I want my character to say merde (the French for poo) the word "bird" actually will result in the same lip movements (because the "b" and "p" are the same phoneme). You need to think this way to get Papagayo to work.

While it's never safe to ignore words, if you really can't figure them out you can put in phonemes in the popup box that at least act like placeholders. But you cannot leave them blank.
Go to Top of Page

Kelleytoons
Forum Admin



6503 Posts

Posted - 06/04/2012 :  3:50:15 PM  Show Profile  Reply with Quote
Oh -- and you don't have to send me the file.

The reason yours failed is there is only one line in it. My routine is designed to space out the lines in a Papagyo file. It won't work (and is not designed to work) on a file with only one line in it (because there's really nothing it could do with it that would be any advantage -- just drag that line over and be done with it :>)
Go to Top of Page

videodv
Junior Member



United Kingdom
234 Posts

Posted - 06/04/2012 :  4:32:01 PM  Show Profile  Visit videodv's Homepage  Reply with Quote
Hi Mike

Not sure what happened with the email but here is a link to download

Edited to remove link.

I have put in a second line and made corrections where needed and now it gets the relevant details and saves a correct looking amended file, but it still will not load back into papayago.

By the way I have tried re-saving the audio file in a couple of different apps to see if it is some sort of codec issue but it made no difference.

Regards
Chris.

Edited by - videodv on 06/08/2012 1:46:24 PM
Go to Top of Page

Kelleytoons
Forum Admin



6503 Posts

Posted - 06/04/2012 :  4:40:00 PM  Show Profile  Reply with Quote
Works fine for me.

Here is the file before I process it:

lipsync version 1
Script Test.wav
30
577
1
	Voice 1
	testing out kellys tunes new papa guy oh script|hopefully this is going to be fine|and it's the first bit of lip sinking|I'm going to do
	4
		testing out kellys tunes new papa guy oh script
		0
		191
		9
			testing 0 35 6
				0 etc
				6 E
				12 etc
				18 etc
				24 AI
				30 etc
			out 36 47 2
				36 O
				42 etc
			kellys 48 77 5
				48 etc
				54 E
				60 L
				66 E
				72 etc
			tunes 78 101 4
				78 etc
				84 U
				90 etc
				96 etc
			new 102 113 2
				102 etc
				108 U
			papa 114 137 4
				114 MBP
				120 AI
				126 MBP
				132 AI
			guy 138 149 2
				138 etc
				144 AI
			oh 150 155 1
				150 O
			script 156 191 6
				156 etc
				162 etc
				168 etc
				174 AI
				180 MBP
				186 etc
		hopefully this is going to be fine
		192
		329
		7
			hopefully 192 233 7
				192 etc
				198 O
				204 MBP
				210 FV
				216 AI
				222 L
				228 E
			this 234 251 3
				234 etc
				240 AI
				246 etc
			is 252 263 2
				252 AI
				258 etc
			going 264 287 4
				264 etc
				270 O
				276 AI
				282 etc
			to 288 299 2
				288 etc
				294 U
			be 300 311 2
				300 MBP
				306 E
			fine 312 329 3
				312 FV
				318 AI
				324 etc
		and it's the first bit of lip sinking
		330
		485
		8
			and 330 347 3
				330 AI
				336 etc
				342 etc
			it's 348 365 3
				348 AI
				354 etc
				360 etc
			the 366 377 2
				366 etc
				372 AI
			first 378 401 4
				378 FV
				384 E
				390 etc
				396 etc
			bit 402 419 3
				402 MBP
				408 AI
				414 etc
			of 420 431 2
				420 AI
				426 FV
			lip 432 449 3
				432 L
				438 AI
				444 MBP
			sinking 450 485 6
				450 etc
				456 AI
				462 etc
				468 etc
				474 AI
				480 etc
		I'm going to do
		486
		545
		4
			I'm 486 497 2
				486 AI
				492 MBP
			going 498 521 4
				498 etc
				504 O
				510 AI
				516 etc
			to 522 533 2
				522 etc
				528 U
			do 534 545 2
				534 etc
				540 U


And here it is after it's padded:

lipsync version 1
Script Test.wav
30
577
1
	Voice 1
	testing out kellys tunes new papa guy oh script|hopefully this is going to be fine|and it's the first bit of lip sinking|I'm going to do
	4
		testing out kellys tunes new papa guy oh script
		30
		221
		9
			testing 30 65 6 
				30 etc
				36 E
				42 etc
				48 etc
				54 AI
				60 etc
			out 66 77 2 
				66 O
				72 etc
			kellys 78 107 5 
				78 etc
				84 E
				90 L
				96 E
				102 etc
			tunes 108 131 4 
				108 etc
				114 U
				120 etc
				126 etc
			new 132 143 2 
				132 etc
				138 U
			papa 144 167 4 
				144 MBP
				150 AI
				156 MBP
				162 AI
			guy 168 179 2 
				168 etc
				174 AI
			oh 180 185 1 
				180 O
			script 186 221 6 
				186 etc
				192 etc
				198 etc
				204 AI
				210 MBP
				216 etc
		hopefully this is going to be fine
		239
		376
		7
			hopefully 239 280 7 
				239 etc
				245 O
				251 MBP
				257 FV
				263 AI
				269 L
				275 E
			this 281 298 3 
				281 etc
				287 AI
				293 etc
			is 299 310 2 
				299 AI
				305 etc
			going 311 334 4 
				311 etc
				317 O
				323 AI
				329 etc
			to 335 346 2 
				335 etc
				341 U
			be 347 358 2 
				347 MBP
				353 E
			fine 359 376 3 
				359 FV
				365 AI
				371 etc
		and it's the first bit of lip sinking
		394
		549
		8
			and 394 411 3 
				394 AI
				400 etc
				406 etc
			it's 412 429 3 
				412 AI
				418 etc
				424 etc
			the 430 441 2 
				430 etc
				436 AI
			first 442 465 4 
				442 FV
				448 E
				454 etc
				460 etc
			bit 466 483 3 
				466 MBP
				472 AI
				478 etc
			of 484 495 2 
				484 AI
				490 FV
			lip 496 513 3 
				496 L
				502 AI
				508 MBP
			sinking 514 549 6 
				514 etc
				520 AI
				526 etc
				532 etc
				538 AI
				544 etc
		I'm going to do
		567
		628
		4
			I'm 567 578 2 
				567 AI
				573 MBP
			going 579 602 4 
				579 etc
				585 O
				591 AI
				597 etc
			to 603 614 2 
				603 etc
				609 U
			do 615 626 2 
				615 etc
				621 U


Since these are text files those of you playing along at home can cut and paste them to .PGO files and load them into Papagayo to play along (this assumes you also download the .WAV file Chris uploaded here, and place it in the same directory as these PGO files). If you do this you'll see how much nicer the padded version is compared to the unpadded version.

I'm not sure what your problem is, Chris. Let me ask you -- can you load the .WAV file into your AS (as an audio layer)? If not that might tell us something (it works for me, of course, but if it didn't work for you it would explain why my script doesn't work, as it assumes it will load correctly. The only reason it wouldn't load into your AS would be if somehow the drivers for that were screwed up. Unlikely but I'm grasping at straws).

You can also upload your PGO file to see if I can see anything odd about it.
Go to Top of Page

Kelleytoons
Forum Admin



6503 Posts

Posted - 06/04/2012 :  4:50:44 PM  Show Profile  Reply with Quote
Also, Chris, since you both tried it with one line and you also mention (in your second audio) that you haven't done this before, I should perhaps give you a little information so your expectations are realistic about what my script actually does.

When you use Papagayo and enter the words and lines in, it generated phonemes that you will need to space out to match up with the audio. There's no way to automate this process -- everyone speaks differently, and some folks say certain phonemes faster than others (the southern part of the U.S., for example, tends to stretch out their vowel sounds quite a bit). The process of alignment in Papagayo is this fine tuning.

All my script does is space the lines out in the audio file -- it won't line them up (again, this would be impossible no matter how the audio was analyzed) but it will make it easier for YOU to line them up. Without using this script all the lines are simply bunched up at the start of the file and you need to drag them ALL out over the file (and the more lines you have, and the longer the file, the longer this process takes, and it's a exponential process that gets longer and longer for each subsequent line). So while my script will save vast amounts of time all it really does is set it up for the fine tuning that always must be done in each file.

So the workflow is: enter the text, generate the phonemes, save the file. Then run my script. Reload the padded file and move the lines to match up accordingly. Then, within each line, move the words to match up. Finally, if you need to (and sometimes you will) move the individual phonemes to match up.

There's no way around it but the good news is that it's an acquired skill and you can get very good and very fast at it. I can do 22 minutes of audio (with my script) in a day, when it used to take weeks before.

For very simple files, with only a few lines, my script won't save much time (it will save a little, but it might be offset by the amount of time spent loading up AS, and then reloading the new PGO file). You will gain experience on when it's appropriate to use it (I use it on all my files but my scenes are never shorter than 30 seconds or so).
Go to Top of Page

videodv
Junior Member



United Kingdom
234 Posts

Posted - 06/04/2012 :  5:04:50 PM  Show Profile  Visit videodv's Homepage  Reply with Quote
Hi Mike

I copied your amended file over and it works as expected so it must be what I am doing so will look more closely (but I see an obvious mistake I have made and will correct)

Yes I can put the audio and other files into ASP and they work as expected.

Yes the example was a very very simple audio to test only but as I have other things coming up I need to get lip sync sorted so I can continue.

Thanks for the help and explanations it will help a lot and thanks for the script as well, I know it will come in useful soon.

Regards
Chris
Go to Top of Page

Kelleytoons
Forum Admin



6503 Posts

Posted - 06/04/2012 :  5:17:30 PM  Show Profile  Reply with Quote
If you find out what it is, Chris, I'd like to know. It may be something I can fix in my script, or at least error trap for (I *am* going to error trap for only one line now :>).

My script is probably most appreciated by folks who used Papagyo a lot before, but there's no reason you can't start off with the best way <bg>.
Go to Top of Page

Wena
Gold Member



United Kingdom
1050 Posts

Posted - 06/04/2012 :  5:39:23 PM  Show Profile  Reply with Quote
I haven't used it a lot, but I need to, thank you Mike for your generosity.

Wena
Go to Top of Page

videodv
Junior Member



United Kingdom
234 Posts

Posted - 06/05/2012 :  06:24:58 AM  Show Profile  Visit videodv's Homepage  Reply with Quote
quote:
Originally posted by Kelleytoons

If you find out what it is, Chris, I'd like to know. It may be something I can fix in my script, or at least error trap for (I *am* going to error trap for only one line now :>).

My script is probably most appreciated by folks who used Papagyo a lot before, but there's no reason you can't start off with the best way <bg>.



OK will do and I think I should read up on how something works before using it

Regards
Chris.
Go to Top of Page

whodoark
Starting Member



Nigeria
20 Posts

Posted - 06/05/2012 :  1:45:35 PM  Show Profile  Reply with Quote
can someone teach me LUA scripting
Go to Top of Page

whodoark
Starting Member



Nigeria
20 Posts

Posted - 06/05/2012 :  1:49:13 PM  Show Profile  Reply with Quote
i am an artist but all the things am reading about scripting is making me want to learn atleast the basic and see where i can go from there.
Go to Top of Page

Kelleytoons
Forum Admin



6503 Posts

Posted - 06/05/2012 :  3:07:58 PM  Show Profile  Reply with Quote
LUA is a programming language and there is a TON of information on the web that can teach you programming fundamentals. There are even some very specific LUA tutorials you can easily find (try Googling "LUA tutorials").

After you have learned the basics of LUA the only thing you will need more information about is the specifics of the functions involved in controlling AS. Luckily Mike Clifton (the author of AS) has put out a number of documents that cover this, but I would not even BEGIN to look at these until you understand LUA fairly well.

Folks who understand programming (but not LUA specifically) can start with those and by looking at the many scripts people have already made available for AS. Someone in that category can get up to speed very quickly indeed.
Go to Top of Page
Page: of 10 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Animators Forum © Kelleytoons Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07