How to change audio volume through Audio2Face RestAPI?


I’m using the Audio2Face 2023.1.1 headless program and RestAPI for a project. I’m using Stream Live Link between A2F and Unreal Engine 5. When I am playing an audio through an audio stream player, the audio is played out of the Audio2Face program. I would like to access the preference settings using the RestAPI to turn down the audio volume from playing through Audio2Face, so I can only play the audio through the Unreal Engine. Is there a RestAPI command for doing that?

Also, it seemed like changing the volume in the preference panel in the Audio2Face UI didn’t actually adjust the volume that is being played.

I’m using the provided in \audio2face2023.1.1\exts\omni.audio2face.player\omni\audio2face\player\scripts\streaming_server for Streaming Audio Player.

Unfortunately, Audio2Face RestAPI doesn’t support changing audio volume at the moment. Thanks for bringing this to our attention. We will internally discuss the possibility of adding this.

I see. Thanks for the answer! This might not be completely related to Audio2Face, but I’m trying to use the Audio Port in the Unreal Engine 5 NVIDIA Omniverse Live Link Source (show in Audio2Face to UE Live Link Plugin — audio2face latest documentation). What is being outputted to this port and how can I play the audio from this port through UE5?

  • You could use Audio2Face’s livelink extension as a starting point and reference for creating the custom streaming extension. It can be found in a folder similar to this: C:\Users\<UserName>\AppData\Local\ov\pkg\prod-audio2face-2023.1.1\exts\omni.avatar.livelink

  • You could also use A2F->UE livelink plugin as a reference for receiving blendShape weights. It can be found in a folder simliar to this: C:\Users\<UserName>\AppData\Local\ov\pkg\prod-audio2face-2023.1.1\ue-plugins\audio2face-ue-plugins