Profile Picture

Creating AccuLips with Python

Posted By josh_177552 4 Years Ago
You don't have permission to rate!
Author
Message
josh_177552
josh_177552
Posted 4 Years Ago
View Quick Profile
Senior Member

Senior Member (253 reputation)Senior Member (253 reputation)Senior Member (253 reputation)Senior Member (253 reputation)Senior Member (253 reputation)Senior Member (253 reputation)Senior Member (253 reputation)Senior Member (253 reputation)Senior Member (253 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 6, Visits: 56
I would like to use Python to access the AccuLips feature with a .wav and .txt source file.

I am able to create lipsync that is equivalent to choosing "Audio File" as the lipsync source with the following code:
import RLPy
avatar_list = RLPy.RScene.GetAvatars()
avatar = avatar_list[0]
viseme_component = avatar.GetVisemeComponent()
audio = RLPy.RAudio.CreateAudioObject()
audio.Load("filename.wav")
result = viseme_component.LoadVocal(audio, RLPy.RGlobal.GetTime(), "Clip Name")

However, I see no way to do this with the AccuLips feature. How can I accomplish this?
I have looked through the documentation and RLPy.py and I was not able to find anything at all.




Reading This Topic