Re: Dragonflame 0.3a is out!

If your looking for something to pan the sound relatie to position then:

--source is the sound source, pos is the listener position.

audio.setpan(snd,(source-pos)*2500)




it makes sense:

source is positive pos is negative
The pan is just the difference between the sounds multiplied by 2500 or so.

URL: http://forum.audiogames.net/viewtopic.php?pid=143714#p143714

_______________________________________________
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
http://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector

Reply via email to