May 21, 2007 at 6:42am
i need to take a collection that has 2 associated elements: a buffer number (1-16) and a time in ms. the time values of each occurrence of each specific buffer need to be subtracted from the following occurrence of that same buffer, which would tell me how much time elapsed between them. then, if the time is less than a certain variable (say 2000ms) that index should be removed from the coll.
for example, if this is the coll
1, 1 1000;
if would result in a list (or a coll) like this:
…where the buffer 1′s are kept only if they are far enough away from the other 1′s. same with 2′s, 3′s and so on.
May 22, 2007 at 1:01pm
Should be easy in js, but probably also slower than doing it with native max objects.
Could be a nice reason to start learning js though ;)
Quote: firstname.lastname@example.org wrote on Mon, 21 May 2007 08:42
You must be logged in to reply to this topic.