How do I trigger something if some sound stopped?

I wanted to know how to trigger a command when a Sound/Music has stopped.

If you are playing the sound you can get the length of time it plays with http://wiki.garrysmod.com/page/Global/SoundDuration