dearyangyu / maya-auto-lip-sync

A tool to automatically generate lip sync animations in Autodesk: Maya using Montreal Forced Aligner.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automated lip sync tool for Maya

A tool used for generating automated lip sync animation on a facial rig in Autodesk: Maya. The script is compatible with Autodesk: Maya 2017 or later (Windows).

Installation:

  1. Add the auto_lip_sync folder or auto_lip_sync.py to your Maya scripts folder (Username\Documents\maya*version*\scripts).
  2. Install the dependencies needed to run this tool. (Read the Dependencies section further down).
  3. To start the auto lipsync tool in Maya simply execute the following lines of code in the script editor or add them as a shelf button:
import auto_lip_sync
auto_lip_sync.start()

Dependencies

To be able to run this tool you need to download the dependencies which are required to run this tool (Or move the INSTALLER.bat to your Maya scripts folder and run it).

System and file format requirements

  • This tool only have support for English input sound and text files.
  • Maya 2017+ and Windows is required to run this tool.
  • Input transcript file have to be a .txt file or .lab file.
  • Input sound file only have support for 16 kHz, single channel .Wav files. You may need to resample your sound file to meet the requirements. I recommend using the free and open-source software Audacity: https://www.audacityteam.org/

How to use the tool

  1. Use the Save pose function to create 10 separate facial poses (one for each phonome).
  2. Load the folder where the pose files are saved and assign a unique pose to each phonomes in the dropdown boxes.
  3. Select a soundclip with a voice-line and a textfile where the voice-line is written down in english.
  4. Click Generate animation and wait until the process is done. (The length of the audio clip will affect how long it takes to process)

Preston Blair phoneme series

To be able to generate facial animations you need to create 10 different mouth poses based on the Preston Blair phoneme series.

How to save a pose

  1. Select the rig controllers you wish to save the attributes from.
  2. Click Save pose and choose which path you want to save the pose file to.

How to load a pose

  1. Click Load pose and select which pose file you wish to load.
  2. The stored pose will be applied to the rig controllers referenced in the pose file.

About

A tool to automatically generate lip sync animations in Autodesk: Maya using Montreal Forced Aligner.


Languages

Language:Python 89.8%Language:Batchfile 10.2%