Hi, Im completely new to the demo scene and I’m working on a few graphics routines within a MS window wrapper. Will FMOD enable me to synchronise my graphics routines to the varying elements of a track. For instance on the bass I can manipulate the vertices of a 3d object.
Any help will be welcome.
- Techoptrix asked 14 years ago
I was going to use soundForge to add markers into an mp3 track for now and use callbacks to initiate graphic routines. Is this the usual method and does it give good accuracy. Also are there any basic tutorials for setting up fmod with vc++ to play mp3’s.
I recently watched kewlers glitch(http://www.scene.org/file.php?file=%2Fp … l_itch.zip), anyone know how they get the graphics to vibrate with the base like its synchronised with it and if it is synchronised with it how do you get that control?
I would go with brett’s suggestion and analyze the spectrum or
tie some attribute to the spectrum.
You could always take a total sum of the spectrum and see if there is an X% fluctuation. But 512 floats per frame is expensive to do sums.
I had difficulty sychronizing my rendering as well.
The real problem is that at a rate of 33 frames per second you are very limited as to what you can render in the mixer’s time of a 44100 playback rate…. so the music thread is getting tons and tons of updates while the renderer can’t ,
so always expect some latency or try to compensate for it!
- Mousey answered 14 years ago
Please login first to submit.