FaceRig

FaceRig

View Stats:
lip sync toggle on keypress
I activate the slider and it turns audio based lipsync off and i can not use this function. I press H and nothing happens. What i want is to be able to stream the lipsync but when a solo in a song comes up i can turn it off so the avatar is not mouthing guitar solos and such. but when i press h nothing happens.
< >
Showing 1-8 of 8 comments
david_animaze  [developer] Sep 7, 2018 @ 8:23am 
Hello, in the "General Options" > "Preferences" > "General" tab you have a "Use Audio Lipsync On KeyPress" toggle. Toggle it as On, after which you can go to "Key Bindings" and change the key to a different one. However, it will stay on only as long as you keep the key pressed.
ridenour.robert Sep 7, 2018 @ 1:50pm 
Ok I see how it works, the docs i was reading said it was H it was bound to T. are there any files that are manually editable to change the behavior to lip sync "off"instead of "on" keypress. Or a way to make it stick without having to hold it. I would prefer a simple on and off toggle. Thanks
Last edited by ridenour.robert; Sep 7, 2018 @ 1:58pm
Mystix Sep 7, 2018 @ 2:43pm 
From the top-menu bar in Facerig, you could also simply click on the mouth-looking icon to "Toggle Audio Based Lipsync" to either on on off. No need to hold it that way.
Last edited by Mystix; Sep 7, 2018 @ 2:46pm
ridenour.robert Sep 7, 2018 @ 6:58pm 
that is true but if i have another window on top that i am broadcasting to it would be nice to not have to switch windows, a global hotkey would be alot quicker to turn it off and on
Mystix Sep 7, 2018 @ 9:18pm 
There is a free utility called AutoHotkey, which you can download at:
https://autohotkey.com/

I had previously made a little autohotkey script for a game, The Long Dark, that basically with a quick key-press would either toggle-on or toggle-off the W key for me (normally in the game with the W key pressed and held, it would move the character in a forward walking motion) as there was a lot of time just walking around in that game and the script helped to save some strain on my fingers and hand.

If you'd like I could upload a stand-alone execuatable version of the script for you, but, to use the raw code (which I'll put below), with Autohotkey installed, you could then simply right-click in an Windows Explorer folder of your choice, or even jsut right-clicking on the Windows Desktop in a blank spot, and one of the menu-options that would be added is under the New option is added an Autohotkey Script option (which the script could also be edited by a text editor), then you could paste the following code into it:

Note: With a quick key-press of the according key, the following code uses the t key to simulate to toggle it on or off. I already tested it with Facerig (having the T key setup as a hotkey within Facerig to toggle on or off the Lipsync) and it seems to work fine. If you decide to change the t key to another key choice instead to toggle on or off the lipsync audio, you would make the changes accordingly in the script below:

#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn ; Recommended for catching common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #MaxThreadsPerHotkey, 2 looping = 0 $t:: ;<-- the hotkey with a $ so it won't re-trigger itself keywait, t ;<-- make sure to let go of the t key looping := !looping ;<-- is the switch to tell the loop to start or stop if (!looping) ;<-- if the toggle is now off don't do the loop Return loop ;<-- an infinite loop with a break condition inside { if(GetKeyState("s")) { Break sleep, 50 } If (!looping) ;<-- the loop will break once the looping flag is flipped off Break send, {t down} sleep, 50 } Send, {t up}

Ok, it's a work-around, but one that seems to work on my end. Maybe it will do what you want.

With that autohotkey script running, you will notice a "H" icon in the Windows tray / taskbar area (it could also be within the Show Hidden Icons area). To end the script, right-click on that H icon and choose Exit.

Hope it helps. Good luck.
Last edited by Mystix; Sep 7, 2018 @ 9:25pm
ridenour.robert Sep 7, 2018 @ 10:00pm 
mystix you are awesome. I actually use auto hotkey for another game. thank you for the script i will plug it in and give it a try
Mystix Sep 8, 2018 @ 8:23am 
You're welcome. I hope it works well for you. :steamhappy:
ridenour.robert Sep 8, 2018 @ 2:47pm 
this script works perfectly! Thanks again
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Sep 7, 2018 @ 6:49am
Posts: 8