Forums > MaxMSP

Weighting a coll

Apr 23 2010 | 7:36 pm

I’m trying to get an ever expanding coll to predominantly access more recent entries – in other words weight it towards the higher index numbers on the fly as they come in. It feels as though it should be easy but it’s got me puzzled. Any thoughts anyone?

Apr 23 2010 | 8:11 pm

try a combination with the probability features of [table] maybe? Some way to have the table reflect the state of the coll, and the higher values will bang out more often than the lower ones. Lots of other probability/stats stuff there too.

Apr 23 2010 | 9:29 pm

Yes thanks – I think I’ve found an answer – and this is the principle…

— Pasted Max Patch, click to expand. —

but any better solutions gratefully accepted

Apr 24 2010 | 12:24 pm

Mm – that’s interesting! Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP