Trigger event after sound is done playing

Is there any way to check to see if a sound is done playing and then trigger other code after that? Any hepl is appreciated.

Nevermind, I got it working, just had to explore some of the AudioNode functions :stuck_out_tongue: Thanks for the help everyone!