Features:
- Instantly grab Visemes lip sync data from the Clipboard; after Character Animator copy ["Copy Visemes for After Effects"] or copy from Text
- Adds/Updates timings of an existing Switch Layer to switch child-layers based on the timings of the Character Animator Viseme data
Below, the tool is applied to one of @Poptoogi's characters in Moho, which is also using Adobe compatible Mouth Visemes that he graciously provided on Gumtree: https://poptoogi.gumroad.com/l/UdYHG.



How do I get set up ?
* To install:
- Download latest release: on GitHub: ss_ch_visemes_import.zip
- Save the 'ss_ch_visemes_import.lua' and 'ss_ch_visemes_import.png' files to your computer into your <custom>/scripts/tool folder (or under scripts/menu)
- Reload Moho scripts (or Restart Moho)
* To use:
- [Moho] Create/Import a Switch Layer with child layers named corresponding to: Neutral, Aa, D, Ee, F, L, M, Oh, R, S, Uh, W-Oo
- [Ch] "Copy Visemes for After Effects": In the Timeline panel, right-click a Lip Sync take > Copy Visemes for After Effects. further instructions at: Adobe Ch export, "Lip Sync: Take export for After Effects"
- [Moho] Ensure that the target Switch Layer is selected
- [Moho] Click this tool labelled "Import Ch Visemes keys"

Notes:
* Compatible/Tested with MH12+
* Optimized for MH12+
* Created in response to a request from: @madrobot
Special Thanks to:
* Stan (and the team): MOHO Scripting -- https://mohoscripting.com
* The friendly faces @ Lost Marble Moho forum -- https://www.lostmarble.com/forum/
Addendum:
Typical Character Animator keyframe data looks something like:
Code: Select all
Adobe After Effects 8.0 Keyframe Data
Units Per Second 24
Source Width 1920
Source Height 1080
Source Pixel Aspect Ratio 1
Comp Pixel Aspect Ratio 1
Time Remap
Frame seconds
0 0
3.9967164 9
8.6042164 1
16.540216 2
21.404216 10
26.268216 11
29.852216 0
31.644716 2
35.484216 9
37.532216 2
39.836216 10
42.397216 3
End of Keyframe Data