Multiple Audio Listeners for Split Screen Multiplayer

Does anyone know a way of setting up multiple audio listeners so I can have split screen local multiplayer and have separate audio listeners for each player?

2 Answers

2

Unfortunately that’s not possible with the audio engine that comes with Unity. There can only be exactly one listener at a time. The only way would be to duplicate each audio source, one for each player and set them to 2D. Now you have to calculate manually the distance and angle the player is positioned to “his” source and adjust the source’s volume and pan.

I’ve just released an asset that allows you to simulate multiple Audio Listeners. You can pick from one of three methods, depending on what suits your needs best! You can get it here: