Difficulty with 3D Audio

(I’m using iMac Unity 3.0)

Hola. I’m having some issues implementing 3D Audio, or at least I think I am. I’ve created a scene where I’ve placed an AudioListener on the Main Camera. Then, I placed a dinging sound effect directly off to one side. I used

AudioSource.PlayClipAtPoint( myClip, soundGameObject.transform.position );

to play the sound. Now the sound was heard, but it didn’t sound like it was in 3D. The further I placed the sound the quieter it would get, but it always sounded like a straight up mono mix in my headphones. I tried putting the AudioSource directly above, below, left right, forward, backward and the sound effect would always seem to have the same mono mixing. I then tried just forcing a sound to play relative to the AudioListener:

Vector3 audioListenerPos = audioListener.transform.position;
Vector3 audioSourcePos = audioListenerPos + new Vector3(100, 0, 0);
AudioSource.PlayClipAtPoint( myClip, audioSourcePos );

This had the same effect, the sound would die with distance but not sound in stereo. Even creating a simple scene with only an AudioListener and AudioSource and moving the camera around in audio preview only had the sound dampening effect.

The effect I was expecting was if the sound is off to the right of the listener, you’d hear it much louder in the right speaker over the left, and vice versa. I’m not sure if this is the correct behavior or maybe something is messed up with my audio setup, but I’m pretty sure that’s ok since iTunes still sounds stereo.

Anyway if there’s anyone that can help me out I’d much appreciate it.
Thank you
-Mo

Do you by any chance have ‘3D Sound’ or ‘Force to mono’ set wrong for any of your audio clips?

All of them are set to ‘3D Sound’. Some of the older docs mentioned that 3D sounds had to be mono, but in the latest docs they say both stereo and mono will work. I’m going to have someone else do some tests to see if it’s just my machine but I think everything is set up properly.

I am having similar problems (Mac, Unity 3 Pro). I have a mono WAV file which I have imported with 3D Sound turned on. I have an AudioListener at (0,0,0) and I’m moving the AudioSource around in the x/y plane (with z=0). When x > 95 the sound is only coming from my right speaker. When x < 0, it only comes from the left. When x is between 0 and 95 there is no sound at all! Can anyone explain what is going on here?

I’ve put up a copy of my app here:

Hi Guys,
Have you checked Edit->Project Settings->Audio, Default Speaker Mode?. This should be ‘Stereo’ or more channels. If these settings are correct, can you please report a bug with a project which clearly reproduces this?

cheers,
Søren