View Single Post
Old 3rd May 2006, 09:00   #247
The Earthquaker
Member
 
The Earthquaker's Avatar
 
Join Date: Jan 2006
Location: Environment
Posts: 87
I need an advice on time-based evaluation.

eg set=rand(n) is evaluated approx. every 5 seconds.
m1=equal(set,1);
m2=equal(set,2);... go on after 'set' changes.

I used to make expressions like

change=bor(below(t*k-floor(t*k),deltat*0.5),above(t*k-floor(t*k),1-deltat*0.5));

with t*k-floor(t*k)(main expression), deltat*0.5 cached at the beginning, in timer based on expression timer=t*k-floor(t*k).

It works, but is too approximate, even more: this timer automates one variable, and cannot randomize.

And it seems the best solution is to work on custom BPM:
Skip 7 beats.
The Earthquaker is offline   Reply With Quote