A 3D ray tracer for 3D sound synthesis