This project is now outdated, please use the completely automatic audio2vmd instead.
Helps automate the process of converting an audio file to a cleaned lip synced vmd for MikuMikuDance/MikuMikuMoving. Click here for the newer guide that uses python instead for super fast cleaning/optimizing.
-
Video Tutorial "MMD Automatic Lipsync to Audio File Tutorial":
- Miku Miku Moving English
- Lipsyncloid plugin for Miku Miku Moving by Nawota (pass:pakupaku) source
- VMDConverter by Yumin
- AutoIt
- FFMPEG for Windows (if not already installed on your pc)
- Ultimate Vocal Remover (if you don't already have clean voice-only audio)
-
Download this repository (Click "Code" button -> Download Zip, or alternately use git) and unzip it on your pc. Download the files in the Requirements section of this ReadMe.
-
On the Miku Miku Moving zip file, Right click -> Properties -> click on unblock. Do this to Lipsyncloid plugin zip file, VMDConverter zip file and "VMD-Automatic-Lip-Synchronization" zip file as well(this will keep windows from blocking things like the dlls/scripts).
-
Unzip Miku Miku Moving and VMDConverter. In VMDConverter folder, copy "LipSynchloid_v021.dll" to "MikuMikuMoving64_v*\Plugins\" folder. Then copy "VMDConverter.exe" from "\VMDConverter\" to the "VMD-Automatic-Lip-Synchronization\VMDConverter\" folder.
-
Unzip ffmpeg and copy "ffmpeg.exe" from "ffmpeg-2024-05-15-git-7b47099bc0-essentials_build\bin" folder to "VMD-Automatic-Lip-Synchronization" folder. It should now be in the same folder as the au3 file.
-
Unzip Autoit and run "autoit-v3-setup.exe" and go through the wizard to install.
-
Run "UVR_v*_setup*.exe" and go through the wizard to install Ultimate Vocal Remover.
- (optional) Open "Ultimate Vocal Remover" if your audio contains more than just the voice.
- Click "Select Input" and choose your audio file. Then click on "Select Output" to choose your save folder
- Check "WAV" radio button. Check "GPU Conversion" and "Vocals Only". Uncheck "Sample Mode".
- Click "Start Processing" to create a voice-only wave file.
- Drag your audio file to "Audio To 48kHz 16bit wav.bat" to convert it to an encoded 48kHz 16bit wav file that Lipsyncloid will accept.
- Open MikuMikuMoving.
- Click "Load Model" button and select a DEFAULT MMD model (DEFAULT meaning a MMD model that came with MikuMikuDance, as custom models might have different bones. A model must be loaded for the conversion to work. You can download MikuMikuDance which comes with the DEFAULT MMD models here).
- Drag & Drop your new audio file into MikuMikuMoving to load it, then click on the "Plugins" Tab.
- Click on "LipSynchloid 64Bit*" to convert your audio to lipsync data (this may take a moment to convert, then a message should popup).
- Click on the "File" tab, then click on the "Export Motion" button.
- Uncheck "center" if it's checked, then expanded the first folder with japanese characters, then check "a", "i", "u", and "o". It should look like THIS.
- Make sure "VMD File" radio button is selected, then click on the "..." next to "Output File" and choose save location/name.
- Click the Export button to save it as a VMD (a "Completed" message should popup).
- Run "VMD Lips clean & optimize v*.au3" and select the VMD file. This will clean/optimize the file. Wait for it to convert (note this could take a long time for vmd files with long durations), then a completed message should appear.
- Complete! The final vmd lipsync file should be the one with "*_cleaned.vmd".
This repository was inspired by the original automatic lipsync guide by Vayanis