Archive: slow/fast Beats


16th February 2002 19:42 UTC

slow/fast Beats
is it possible to detect, if a song has a slow or fast beat? so i can depending upon that determine that maybe a scope is blue or red.


or is this a further point for the avs-wishlist?


16th February 2002 23:26 UTC

yes, there is
Yes, Winamp has a built-in beat detector.

Here's how to access it:

1.) Start the song you want to measure
2.) Start Winamp AVS, then start Winamp AVS Editor
3.) Go to Settings, then go to Beat Detection

If you've never used the beat detection before, it may have to "learn" first.

C. Mountford


16th February 2002 23:49 UTC

that i know, but what i meant is, how i can say in the SS that if the song has a slow beat, the color is more blue and if the beat is fast, the color is red, as example


17th February 2002 00:42 UTC

oh
I'd say probably tinker around in On Beat to something like this:

assuming that b=number of beats:

If(above(b,.5), red=1, blue=1);

That's just a guess though. Try pm-ing unconed

Or you could request that they add the option to assign the BPM to a variable as a new feature for AVS.


17th February 2002 19:36 UTC

No, onbeat only gives a one or zero, not a speed.


17th February 2002 20:48 UTC

i tested yesterday and found out, that it does not function, so i posted a request for a timecounter in the wishlist (look down), maybe something like this already exist, i don't know



>a timecounter var in SuperScope and DynamicMovement, so SS or DM could detect if the song has a high or low bpm

example:
the var "time" would count the seconds




init:

beat=0;time=0
onBeat
:
beat=beat+1
counts the beat

per Poin:


bpm=beat*60/time;


calculates the bpm

beat
=if(equal(time,30),0,beat);

time=if(equal(time,30),0,time)
restes beat and time synchonously every 30 seconds, it also may reset all 15 seconds.. its only a question how exactly the bpm should be.

pleas make possible

>
i also tried it with counting the framerate, but that would need a stably framerate

maybe UnConeD knows another solution
i will ask

19th February 2002 00:21 UTC

As far as I know, there's no way to get an actual time-readout. You can only get a relative time value, but its speed will depend on a user's computer. Given the fact that most people watch AVS at the resolution that offers them about 20-25fps, you can of course work out something that works most of the time.

Another solution would be to make sure that you can reach a wide variety of colours/movements with different beat-speeds. That way, it will always yield an interesting result, regardless of cpu-speed. Of course it might not look the same everywhere, but that's neat too.


22nd February 2002 19:13 UTC

relative solution
i think i found any relative solution to detect the speed of the sound... how said, it's relative... i think it also detects if music is activ.. looks fine, i think


you can see if you're intrested


22nd February 2002 19:45 UTC

watch out the changing dominance @Lenny Kravitz_Black Velveten ... if you have ... else, watch to other songs

look in fullscreen
;)
:D