playing sounds

How would i stop one sound from playing and then play another one?

use the play-stop option on the sound actuator. when its sensor is false, it stops playing. Add a nand controller to that same sensor and then play the second sound with that controller.

https://www.blender.org/api/blender_python_api_2_70_0/aud.html

device.aud().stop(aud.Factory(logic.expandPath("//"+“filename.filetype”)))
device.aud().play(aud.Factory(logic.expandPath("//"+"other_file_name.filetype)))