3D sound volume

Blitz3D Forums/Blitz3D Programming/3D sound volume

slenkar(Posted 2004) [#1]
Is it possible to get some sounds louder than others?

My explosions are quieter than my laser shots.

If not, is there a free program to alter the volume of sound files?

ALSO I need to make some sounds hearable over larger distances than others


Bot Builder(Posted 2004) [#2]
SoundVolume sound_variable,volume#

or

ChannelVolume channel_handle, volume#


slenkar(Posted 2004) [#3]
Do 3D sounds use channels? If not how do I make them use channels?

EDIT-
oh OK emitsound returns the channel - thanks!

I still need to hear some sounds over longer distances though


jfk EO-11110(Posted 2004) [#4]
Probably you need to write your own additional thing that handles standard sounds and mixes them depending on your position and rotation. I know the problem, many sounds are not load enough.

I guess it's pretty easy to calcualte the panning from the rotation and the volume from the distance, and then use a min amplitude for explosions etc.

The falloff parameters of the 3D Sounds are set per listener and not per Sound, that's the problem.