Is there a way to play a sound after waiting "x" number of seconds?
If you want this in context:
There is a competition called "Academic Decathalon"; one of the sections is music, and part of the Music Test is identifying a piece based of a couple seconds, and then answering a question about it. I'm trying to play a random song at a random point in the song. I've already got the "play a random song" part working, but I don't know how (if it is even possible) to play a song/sound starting after a couple seconds.
Offline
Um, how about creating an audio element after a couple seconds?
Offline
roijac wrote:
u know audocity?
Yes, but I don't want to have to save hundreds of audio files
scimonster wrote:
Um, how about creating an audio element after a couple seconds?
I think you misunderstood me. I want to play the song on an event (I've got that worked out), but at a random point within the song.
Offline
http://msdn.microsoft.com/en-us/library/gg589489%28v=vs.85%29.aspx
Offline
Hardmath123 wrote:
http://msdn.microsoft.com/en-us/library/gg589489%28v=vs.85%29.aspx
Thank you! currentTime seems to be what I want. That was very helpful!
Offline