pouët.net

effects synchronization with music

category: general [glöplog]
and here you have people pissing on BPM counters, sheeeesh!
added on the 2009-02-16 18:11:03 by superplek superplek
Quote:
0) Really helps if you have the music first... but many times the musician wants to graphics to do a suiting soundtrack... it's catch 22 there ...

Then you should kick the musician's ass. :)
added on the 2009-02-16 18:39:02 by gloom gloom
Gloom is right - a good musician SHOULD be able to make music according to the design - but this is where catch 23 comes into play: often, there IS no design... but that's a tooootally different ball game... ;)
I see no trouble with using a specialized midi version for syncing.
added on the 2009-02-18 12:22:03 by irvin irvin
willbe : who would dare to do that to a musician :)
added on the 2009-02-18 12:24:33 by nytrik nytrik
i tend to like to use bpm based syncing so that for every 16 imaginary beats (think of the soundtrack as house, even if it's d'n'b or something else) the timer smoothly moves up by 1 so that at the beginning of the 1st "pattern" the timer is 0, half way up the pattern it's 0.5, after the 1st pattern it's 1, halfway to the 2nd pattern it's 1.5 etc.. This is good for syncing the 'major' parts of a demo (bigger effects) etc. This whole mindset goes back to tracker days, but is applicable to most 'normal' electronic music even nowadays... I also tend to use basic level data from fmod for small alterations here and there, plus pre-analyzed "per-channel" (or, well, drums, lead, bassline, effects) audio for other random things. My best friend is "strobe = 1-fmod(t*16,1);" :-)

Milliseconds i avoid like cancer.
added on the 2009-02-18 13:12:39 by uncle-x uncle-x
totally how i like it too.
added on the 2009-02-18 13:28:11 by superplek superplek
It's how i do it too. For more complex beats you can always stick in a pattern that triggers effects, and set the duration to 1 beat so it ties in to the bpm timer.

The only "hard part" doing it that way is finding out the BPM in the first place.. if you're lucky you can just ask the musician, if you're not it's a real bitch. I've tried BPM counters and such with pretty limited success, best technique i've found so far is to count say 100 beats and time it. Which is really hard if the beat stops for a while, or there's some 'slow down' type effect in the music.
added on the 2009-02-18 14:06:19 by psonice psonice
skrebbel: I found what iq said about the synch-technique used in kindercrasher
Quote:
pera, yep. Well, its not FFT, but just a direct implementation of the Fourier Transform (fewer bytes, but slower of course).
added on the 2009-02-23 00:18:16 by bdk bdk

login