I have been using fmod4java (which uses fmod 3.74) to control 3d sound. I have a couple of JSlider’s which range from -5.0 to 5.0 and update the X and Z coords.
Min & Max distance set as 5.0 and 10000.0 respectively so I get no attentuation within the +/-5.0 area I am testing in.
The problem i’m having is with the 3d sound with changing X coord. Z works really nicely and the sound pans smoothly from front to back over 5.0 to -5.0. However X seems to change quite suddenly at around +/- 0.5 and at the extremes (+/- 5.0) the sound on the opposite speaker is not mute like it is for the Z coord.
I am using a mono wav file, and DirectSound on Windows
Am I doing something wrong here?
- jhewer asked 12 years ago
if I remove the HW3D flag and use NORMAL then I only get stereo sound. I can’t remove the NORMAL flag becayse i need to specifiy at least one flag. Does this help at all?
BTW i’m just using a mono media file for the moment until i get hold of a 5.1 ac3 file or something. Not sure if this makes a difference
yeh, the front centre channel only outputs sound within the range -0.5 to 0.5 on the X axis, and just cuts out either side of this
also just noticed that at -0.5 on the Z axis the front centre channel just cuts on/off obviously depending to which side the sound source position is moving
i think the problem is due to the sound moving near to the listener. if say the sound is about 5.0 units in front of the listening, the front speakers and centre speaker blend nicely.
is there any limit on the XYZ triplet values for the sound position? i understand that min/max distance sets the range in which the volume attenuates, so does the min value here in a way define the speaker distance from the centre of the room?
Please login first to submit.