This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
So, I hope the title isn't misleading, but I'm curious as to how I would go about syncing up some behavior in my game to a certain part of my music. So far the only way I can think of would be to start a thread at the same time as the music that sleeps for 1 second, and then returns the seconds. then, at a certain number of seconds in, the game starts to do whatever. Im curious if theres any other way to do this?