Open EMERALD0874 opened 2 years ago
Adding help wanted label as I'd appreciate suggestions on how to do this.
Currently my only train of thought is to play the starting sound, set a timeout for the length of the audio clip, and then play the infinetely looping song.
If there is a way to be notified when a sound ends that would simplify this hugely.
This can be accomplished by playing a starting sound file once and playing the looping sound file "infinitely" once the starting sound file has been completed. I forget if there is a way for us to listen for such an event, but it would be good for certain situations (ex. the Wii menu has a short jingle when opened but it may not be optimal for this to play as a modal open sound effect).