Some help with soundchannel:Play and similar functions

Can someone be so kind as to provide some example code on how to use the new sound playing functions that garry implemented a few updates ago. The documentation ive found on it hasnt been very useful. Thanks!

If you mean sound.PlayURL



local channel
sound.PlayURL("url", "", function(chan)
    channel = chan
    channel:Play()
end)