CreateListener huge scale

Blitz3D Forums/Blitz3D Programming/CreateListener huge scale

_PJ_(Posted 2005) [#1]
I have great difficulty getting this command to do anything useful when I use it myself. The demo works fine, so I know there's no problem with my soundcard etc. or whatever.

The problem is, I have no idea what values to use for what scale.

The doc's state:

rolloff_factor# (optional) - the rate at which volume diminishes with distance. Defaults to 1.


Yet does this just go from 0.00 to 1.00? Does a '1' indicate the sound practically cuts out as soon as the emitter is moved away from the object?


doppler_scale# (optional) - the severity of the doppler effect. Defaults to 1.

Does then are values of >1 valid? What does this represent (frequency/Blitzunits distance)?


distance_scale# (optional) - artificially scales distances. Defaults to 1.



My game ideally requires Audible distances of up to about 5000 Blitz units away. What sort of value is sufficient?


Should the roll_off AND the distance_scale BOTH be altered? aren't they somehow mutually dependable?

Am I being incredibly thick?

Please can anyone help to make this clearer for me. Many Thanks.


WolRon(Posted 2005) [#2]
Should the roll_off AND the distance_scale BOTH be altered? aren't they somehow mutually dependable?
Yes, and yes.


They each create different curves: