Load3DSound parameters

Blitz3D Forums/Blitz3D Beginners Area/Load3DSound parameters

_PJ_(Posted 2006) [#1]
((Should Be CreateListener()paramaters))

I'm having REAL trouble trying get these to work right.

It's just trying to figure out the scaling.

I seem to get complete silence or a maximum volume sound that 'fades' far too quickly, and I notice no difference with the doppler efect either.

Could anyone give me some suggestions?

My game-scale is set in space where spaceships are on average 20 Blitz units in length. Anywhere less than 100 Blitz Units of distance to the Listener is close enough to be heard quite loud, 100 - 500 is probably medium and 500-1000 is quiet to silent.


Matty(Posted 2006) [#2]
I am unable to help much with the 3dsound commands but would the regular sound commands be better as you can control the volume / pitch of the sounds directly to mimic 3d sound effects by altering the volume based on distance and the pitch based on whether the sound source is approaching or receding from the listener?


_PJ_(Posted 2006) [#3]
That's an option. Im wondering about speed and slowdown now...

I'll have a think about that idea, thanks, Matty.


Ross C(Posted 2006) [#4]
Doesn't it use a floating point value?


_PJ_(Posted 2006) [#5]
That's what I find strange, some of the values seem to work with 0.0 to 1.0 floats, whilst others seem to have an effect when using >1 numbers.