ID:172125
 
How would you stop a music file from playing?
Rippy wrote:
How would you stop a music file from playing?

Call it inside for dinner. <rimshot>

Seriously though, all you have to do is send a null sound out to the MIDI output channel. The reference entry for sound() will tell you more.

Lummox JR
In response to Lummox JR
lol, I thought of that, but I didn't think it would work...
If i'm not mistaken, this should work:
world << sound(null) //change world to src, or M or whatever.  
//You're basically setting the sound to nothing, thus, complete and tranquil silence.
//That is, until you play another sound...