Meta Avatar Lip Sync
In this script I am trying to amplify the audio source Avatar Lip Sync. I need an area in my app where the audiosource is amplified when they enter the triggerzone but it seems to amplify the entire room. Can anybody help?
3 Replies
Hi @Rex G. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I can help with your Meta Avatar Lip Sync audio amplification issue in NormalVR. Based on the knowledge sources, I understand you're trying to create a trigger zone that only amplifies the audio for avatars within that zone.
The issue you're experiencing where the audio is amplified for the entire room rather than just in your trigger zone is related to how Normcore's voice chat system works.
In Normcore, the
RealtimeAvatarVoice
component handles voice chat and can be customized through the AudioSource component. According to the documentation:
By default RealtimeAvatarVoice will create an AudioSource component, however, if you would like to set custom spatialization settings, create an AudioSource manually. RealtimeAvatarVoice will detect and use this instance instead.Realtime XR Voice Chat For Meta Avatars specifically, the
MetaAvatarLipSync
component works with RealtimeAvatarVoice
as mentioned in the Meta Avatars Customization guide:
MetaAvatar will reset the transform on the root Game Object, perform the RealtimeAvatar prefab setup if necessary, and add a MetaAvatarLipSync component that references RealtimeAvatarVoice.Meta Avatars Customization To solve your issue, instead of trying to amplify the audio source directly, you should: 1. Create a custom script that modifies the volume of the AudioSource component on the avatar when they enter your trigger zone 2. Make sure you're only modifying the AudioSource of avatars within the zone 3. Reset the volume when they exit the zone The issue might be that you're modifying a global audio setting rather than the specific AudioSource attached to the avatar in your trigger zone. If you need more specific help with your implementation, you might want to share your current script so I can provide more targeted advice based on Normcore's voice chat system. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ----------------------
<@918869683929768036> Kapa.ai is still learning and improving, please let me know how I did by reacting below.
Here is the script