demostenes Posted April 27, 2015 Posted April 27, 2015 I am probably overlooking something, but I am not able to setup linear sound fade. Sound is playing when I am in specified distance, but without any distance fade, only on/off. I would expect there is some parametr to specify, how loud will sound play near source and on the border of sound area, or how much db per metr it will lose, or anything like this. I tried all options in sound settings, but there is nothing which would cause such behaviour. Thanks for any help.
unclebob Posted April 27, 2015 Posted April 27, 2015 Hi Jirka! I assume you're using SoundSource nodes. First of all, in order to get 3d sounds working properly their source files have to be recorded in mono, not stereo, secondly, falloff distances can be tuned via setMaxDistance / setMinDistance functions (https://developer.unigine.com/en/docs/1.0/scripting/library/sounds/class.soundsource#getMaxDistance_float)
Recommended Posts