Hi,
i'm making a demoscene demo (if you don't know what it is, just think it as a non-interactive techdemo or a music video running realtime) and the intention is to release in Assembly 2007. I have less than three weeks to complete, and i'm facing a serious problem with the direction and synching of the demo.
In demos, especially in ours, one of the key elements is tight synchronization between the music and visuals. This usually means more or less hard coded events happening at certain points in time. On PC we've used quite much realtime FFT provided in f.ex. fmod, but XACT doesn't have any of that stuff.
What i'd really need is the capability to fast forward / rewind the music, in order to be able to move to a certain point of time in the demo, hearing the music that should be playing on that particular time etc.
The other thing i've noticed is that the gametime in XNA doesn't seem to be that accurate. I use this piece of code to convert the gametime to "music time":
return (ms - starttime) / 60000.0 * bpm / 16.0;
where ms is the current gametime in millisecond, and starttime is the time when the cue was fired. Bpm is the beats per minute assigned in Sony's Acid, which has always been very accurate. In the beginning everything is in synch, but as time advances it gets a little bit behind. Around 3-4 minutes it will be about 1 second behind, which is really bad if I were to make any synch between the music and visuals.
I'm running the demo on XBOX 360, which is the intended platform. Haven't tested on PC.
Please HALP!