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.