How to play a Stereo MP3 as if through 2 virtual speakers in a VR environment?

Hi all,

I have a small VR game for Meta Quest which has a room environment that contains a couple of speakers (3D models) arranged as you might have your speakers arranged in your room at home.

I’ve been trying to play a stereo MP3 file and get it to sound like the left MP3 channel is coming out of the left virtual speaker and the right MP3 channel is coming out of the right virtual speaker. This strikes me that it shouldn’t be that difficult but nothing I’ve tried, short of splitting the stereo MP3 file into two mono MP3 files and playing them back separately with different positions has worked.

This is using FMOD Core on both Android (Quest) and Windows using my own engine which uses FMOD for Audio with the Oculus Spatializer.

Firstly, should this be possible to do with FMOD and if so does anyone have any tips for doing it?

Thanks for any help.

Hi,

You could use a transceiver (FMOD Engine | Effect Reference - Transceiver) to send the audio to a sound playing at the position of the speaker.

An option could be playing some quite static at the position of the speaker to keep the sound alive while sending the signal from the transceiver.

Hope this helps.