Problem Getting Lip Synch to Work in AS
Moderators: Víctor Paredes, Belgarath, slowtiger
-
- Posts: 13
- Joined: Sun Jul 13, 2008 3:55 am
Problem Getting Lip Synch to Work in AS
Hi!
Now that I know how to create Switch layers, I have assigned a Papagayo .dat file to it.
I have read Ch 24 in the Official Guide. Yet, after doing the steps, I still do not see anything happening.
Sorry if this is a lame question.
I double-checked to make sure the .dat file was in proper format:
MohoSwitch1
1 rest
16 rest
17 etc
18 AH
20 WQ
21 MBP
23 EH
24 etc
25 E
27 etc
28 AH
30 MBP
32 etc
35 MBP
and so on.
Now that I know how to create Switch layers, I have assigned a Papagayo .dat file to it.
I have read Ch 24 in the Official Guide. Yet, after doing the steps, I still do not see anything happening.
Sorry if this is a lame question.
I double-checked to make sure the .dat file was in proper format:
MohoSwitch1
1 rest
16 rest
17 etc
18 AH
20 WQ
21 MBP
23 EH
24 etc
25 E
27 etc
28 AH
30 MBP
32 etc
35 MBP
and so on.
-
- Posts: 13
- Joined: Sun Jul 13, 2008 3:55 am
-
- Posts: 13
- Joined: Sun Jul 13, 2008 3:55 am
Do you have a switch layer with all of the layers named as described? You import the .dat into the switch layer. It should place keys matching the layer names of the switch from the dat file. The names must be EXACT.
These are the standard set of 10 phonemes that Papagayo uses.
rest
etc
AI
WQ
MBP
E
O
U
FV
L
I noticed in your code snippet some phonemes that aren't part of the standard Papagayo set up. Just checking.
EDIT:
If you load just the sound file as the lip sync source data it uses the amplitude to cycle through the switch layers in order. This is not using the .dat file that papagayo produces.
-vern
These are the standard set of 10 phonemes that Papagayo uses.
rest
etc
AI
WQ
MBP
E
O
U
FV
L
I noticed in your code snippet some phonemes that aren't part of the standard Papagayo set up. Just checking.
EDIT:
If you load just the sound file as the lip sync source data it uses the amplitude to cycle through the switch layers in order. This is not using the .dat file that papagayo produces.
-vern
Last edited by heyvern on Thu Jul 24, 2008 11:34 pm, edited 1 time in total.
-
- Posts: 13
- Joined: Sun Jul 13, 2008 3:55 am
I've done it both ways. Nothing happens when I only load the .dat file. I hear the .wav file, but the character doesn't appear to move her lips.
I do get animation when I load the .wav file through the Data Source button. I get lip movement, but the problem is that the lip movement no longer synchs with the audio. Plus, the key frames are altered. Additional ones, it seems, are added and shifted on the time line.
I do get animation when I load the .wav file through the Data Source button. I get lip movement, but the problem is that the lip movement no longer synchs with the audio. Plus, the key frames are altered. Additional ones, it seems, are added and shifted on the time line.
Loading the sound file as the data source is NOT using the keys from the papagayo DAT file. It is just putting in keys for the switch layer based on the amplitude of the wav file. It "cycles" them. The louder highest amplitude of the audio uses the first switch, then goes down the list. It has NOTHING to do with Papagayo or the dat file. They aren't "linked". the audio wav file and the dat file have no relationship to each other in AS.Digilusionist wrote:I've done it both ways. Nothing happens when I only load the .dat file. I hear the .wav file, but the character doesn't appear to move her lips.
I do get animation when I load the .wav file through the Data Source button. I get lip movement, but the problem is that the lip movement no longer synchs with the audio. Plus, the key frames are altered. Additional ones, it seems, are added and shifted on the time line.
Also if the FPS is different for the Papagayo file and the AS file the dat file keys won't match. Check the papagayo file for the FPS. If it isn't the same as the AS file you need to either change the fps in the papagayo file and redo the lip synch or change the fps of the AS file.
-vern
- synthsin75
- Posts: 10266
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Vern's right. You need to use the standard phonemes used by Papagayo unless you define custon ones in Papagayo while you're making your lip-sync .dat file.
You can always open the .dat file in a regular text editor and check, or manually change, the phoneme names to make sure they match you're switch layers.
As long as these match, selecting the source data file and soundtrack will show the proper result.
::^What he said.
You can always open the .dat file in a regular text editor and check, or manually change, the phoneme names to make sure they match you're switch layers.
As long as these match, selecting the source data file and soundtrack will show the proper result.
::^What he said.

-
- Posts: 13
- Joined: Sun Jul 13, 2008 3:55 am
The FPS are both 24.
Like I said, I have loaded the .dat file only, and have seen nothing happen. It wasn't until I experimented by loading the .wav file as a data source that I saw the lips move.
So, if the FPS match, and I load the .dat file only, and the phoneme names correspond to the Papagayo .dat file text, what am I doing wrong?
I just looked at the .dat file and the custom text names are there. One thing, the file type is Video CD Movie instead of .dat. I added the .dat suffix to the file name. Still identified as Video CD Movie. Could that be the problem?
Like I said, I have loaded the .dat file only, and have seen nothing happen. It wasn't until I experimented by loading the .wav file as a data source that I saw the lips move.
So, if the FPS match, and I load the .dat file only, and the phoneme names correspond to the Papagayo .dat file text, what am I doing wrong?
I just looked at the .dat file and the custom text names are there. One thing, the file type is Video CD Movie instead of .dat. I added the .dat suffix to the file name. Still identified as Video CD Movie. Could that be the problem?
Not the file type -- that's just a file association thing.
I suggest you post a sample -- both the file and the .DAT and someone here will straighten you out (actually, to be complete I'd post the audio as well -- zip up the whole thing).
Loading in a .DAT file into a phoneme switch layer is about the no-brainiest thing there is to do. I can't imagine what you're doing wrong.
I suggest you post a sample -- both the file and the .DAT and someone here will straighten you out (actually, to be complete I'd post the audio as well -- zip up the whole thing).
Loading in a .DAT file into a phoneme switch layer is about the no-brainiest thing there is to do. I can't imagine what you're doing wrong.
-
- Posts: 13
- Joined: Sun Jul 13, 2008 3:55 am
Here are the files in a zip file: http://www.eboncourt.com/balrog/DigiLusionist.zip
Thanks you guys for the assist so far. I appreciate it!
Thanks you guys for the assist so far. I appreciate it!
- synthsin75
- Posts: 10266
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
- synthsin75
- Posts: 10266
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact: