To stop a 2d sound, you will need these codes:
%obj.playAudio(2,soundName);
%obj.stopAudio(2);
the 2 is how it can stop the audio from playing. Which means when it plays, its in the 2nd slot, it will then cancel the audio in the 2nd slot.
EDIT: You should be able to change the number, but I wouldn't recommend.