Page 1 of 1

SS - Adobe Character Animator lip sync visemes keyframe importer

Posted: Tue Jan 25, 2022 8:48 am
by SimplSam
SimplSam's Ch Visemes Import tool allows you to import Adobe Character Animator Visemes (lip sync) keyframe data into Moho Switch Layers via the clipboard.

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.

Image
Image
Image

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" Image, which should now import the keyframe data and apply it to the selected Switch Layer.

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

Re: SS - Adobe Character Animator lip sync visemes keyframe importer

Posted: Thu Jan 27, 2022 2:26 am
by alanthebox
ooooo this sounds super cool! i liked using character animator for lip sync in the past, but didn't really like having thousands of PNG frames to deal with (especially with a vector character).