If I force the audio clip to mono and play it on a 3D audio source at the exact same location with the listener, I hear my music as surround nicely but I don’t want it to be mono.
What is the correct/optimal way of playing a stereo music as surround in Unity? (upmixing)
I have a workaround solution in my mind but it’s ugly.
I can split the stereo file into two (one file for each channel) then I can play both of them on two audio sources positioned at little left and little right of the listener.
I hope it’s not the only way to achieve what I want.
You could technically split up the stereo file to create Audio Source ‘speakers’ however I’m guessing that you would run into some weird phasing issues doing this. If not with the position, with the timing. I haven’t tried it, but my guess is that it probably wouldn’t sound great.
The best method I know of to make a 3d clip sound stereo (or to give a stereo sound some 3d position) is to change the spatial blend as you get closer to the object. E.g. the sound is mono at a distance but becomes stereo as you get closer to it.
You also have ambisonics as an option. This creates 3d sound that sounds like it’s all around you but doesn’t gett louder or quieter with distance.
Yes. Ambisonics sound good to me because my music doesn’t have a fixed location. It’s going to move with the camera and the player will hear the music from fixed distance at all times.