Map and set lip-sync keyframes from Papagayo to Advanced Skeleton Facial Rigging in Maya.
This script sets keyframes for viseme controller in Autodesk Maya based on phoneme data exported from Papagayo. The viseme controller is part of facial rigging by Advanced Skeleton.
- Place the
Papagayo2Maya.py
script in your Maya scripts directory or copy/paste the code to the Python tab in the bottom pane of the script editor in Maya. - Update the
file_path
variable in the script to point to your.dat
file containing the phoneme data. - Update the
phoneme_to_attr
dictionary to map your phonemes to the corresponding controller attributes in your Maya scene. - Run the script in Maya's script editor or as a Python script.
The .dat
file should contain lines with start times and phonemes. Example format:
- MohoSwitch1
- 1 rest
- 19 E
- 20 O
- 21 MBP
- 22 WQ
Clone this repository to your local machine using the following command: git clone https://github.com/hsuehyt/Papagayo2Maya.git
This project is licensed under the MIT License.