How do I Stop a sound?

How do I Stop a sound while It’s playing? For example, I have different locations with different music in the same scene. I have empties to start playing different musics when the camera is close, I just don’t know how to stop existing sounds that are already playing. Is it possible? And I also need to know if playing a Midi file in blender is possible (with python perhaps?)

Give your empties That are linked to the music NEAR SENSOR, set the start distance and reset distance. Make sure the reset distance is further out than start distance. Give your camera a property, name whatever you want. Make sure you put that property name into the near sensor empty. You could even make the sound 3d, so when you trigger it, it starts off low, but as you get closer to the source it gets louder, then as you move away it gets lower, and finally turns off as you move out of hearing range.

If you would like an example blend I will post one, but it is pretty straight forward, and easy. If i can, anyone can, LOL…

The NDN…

why stop when you can fade =)

http://www.zerooneentertainment.org/blengine/blends/fadeAway.zip

3d sound could work, but if you want global music to change it wouldnt be good at all, because it would only be full blast when youre close to the source

this demo will fade the sounds for you, right now i have it set when you get close to one of the objects the sounds will change, but you can have anything trigger the changes really, just have anything you want send the messages… like press space bar>>and>>send message “at3”

as for the midi file, i havent a clue on that one =\

my question is- how can you keep a track playing? i had problems with supersmashblaster, with all the noises triggered (guns, explosions) and keeping the music track going without stopping. Can someone help me with THAT?