Implementing Actor Audio without it being able to hear it's own audio

Hello Unreal Community,

I am developing a game level with dozens of AI-powered NPCs. The goal is to create a realistic auditory environment where every sound, including each NPC’s voice, is part of the game world’s audio landscape. The challenge arises with the requirement for NPCs to process this auditory information without receiving feedback from their own voices. Here’s a detailed breakdown of what I’m trying to achieve:

  • Implement an audio system where player and NPCs “talk” into the game world.
  • Ensure NPCs can ‘hear’ the game world authentically, including voices of the player and other NPCs.
  • Prevent NPCs from hearing their own voices to avoid self-reaction, maintaining immersion and realistic AI behavior.

Audio is streamed out of what the NPC hears and their speech is streamed in to and from a server.

I don’t know much about how digital audio works and am looking for any guidance that can help me build this functionality as I plan on releasing the entire system as a plugin.

Thank you for your time and help.