I have 3D event sounds that move around my listener.
I compute their position, the listener’s position and orientation but when a sound is located at my right (for example), I still hear it both on the left and on the right.
I do not have the same effect with the event player (Fmod’s programmers are much better than I am !): even at a close distance, left part of sound fades very soon.
I think I am OK with the respective positions of sounds and listener (though I have coordinates conversion to do).
I guess that a wrong listener orientation could cause such troubles, but I have no changes even if I rotate the orientation of the listener.
Any ideas ?
– Olivier –
- oroussel asked 9 years ago
It sounds like it could be a coordinate system issue to me, but we really need to see some code. Can you post a simple code example that demonstrates the problem here or send it to email@example.com ?
I have found the solution:
1) I was wrong with the 3D max distance: I set it to a low value and, because of that, was still hearing all the sounds,
(I apologise for this: after have read again the comment about this property in the designer, it is clear that the default value should not be changed except for some precise reason).
2) I was testing my configuration sometimes with 5.1 sound system, and sometimes with headsets. I had previously set "Force software" property for my sounds bank (this is another story), and I now use "setSpeakerMode" method to switch between 5.1/headset tests environment (otherwise, I can not hear sounds until they are "in front" of my listener).
Thanks for your help,
– Olivier –
- oroussel answered 9 years ago
Please login first to submit.