http://www.freebasic.net/forum/viewtopic.php?t=4592
He'll be best advised to use the Bass dll.
I haven't used it much myself and so I won't post there and confuse the poor guy but if he registers over here the source code to camouflage is available to download, Rbraz added it a little while ago That uses Bass lib and he should be able to figure it out from that without too much hassle.
Whats the dude. actually after as Ive not heard of Dance Evolution.
Dance Dance Revo is an arcade game where you "dance" from konami.
Is it a bit like Simon Says, that game where it plays a tune and you have to match the correct sequence?
Yeah, that's a good way of putting it. Or Parrappa the rapper (PS).
Simplist solution I can think of. Would be to draw a grid, and when ever a certain sample plays.. It lights up / fills a section of the grid, and then have the user go to that square. And time how long the reaction took to get there. And award points accordingly. Unless they are wanting to do it with a dance mat. then I dont know if that would be possible in FB.
Well...thats not ddr...
http://en.wikipedia.org/wiki/Dance_Dance_Revolution <-- You might want to look at that
He wants the arrows to come up with the beat
I thought a simple spike checking would work for the game...or at least at a level of error acceptable by our ears...apparently people tell me otherwise...oh well...
Thrawn
Cheers Thawn and :hi: to the forum dude.
I know that it's possible to check for samples being played with Bass via tracker modules - { XM, MOD, SM3, IT, etc ); I presume there's a similar set of functions in FMOD. But I've not used the lib before, so dont quote me on that. If they're planning on using mp3 / wave then, Bass doesnt support them any longer from what I've noticed from my experiments with it.
Basically what you'd do is if using Bass and a module, find the sample number that plays the drum beats and set a Bass sync module. On FB Net, there is a topic of mine some place that shows how this is all set up. But if it's another sound format then the ones Bass V2.2 supports, I wouldnt know how to accomplish it.
Maybe as they haven't replied to that topic in a while, that they've sussed it out. And good on them for doing so.
Or as I've just noticed up a few replies, that Shockwave mentions about the Camouflage music disk source, which they could have a look at. So if you see the dude in question, ask them if they still need assistance and get them to pop over to our neighbourhood.
Cheers,
Clyde.