Velocity is a speed that has a direction. Velocity is used to calculate the speed difference between a 3D sound buffer and 3D sound listener. The calculated value is used to apply the appropriate Doppler effects to the sound being played.