Forums > MaxMSP

urn maximum value

Apr 11 2013 | 12:25 am

I have found that urn stops after outputting 4094 random numbers. I tried various values over 4094 and at slower output speeds. Has anyone else run into this problem? I am using max 5. Maybe this is different in new versions.

Apr 11 2013 | 9:12 am

I think I read somewhere that urn has a maximum but I can’t remember where.. (or did I dream about it?)

You can go around it by using two [urn] objects, adding 4094 to one of them, and combining the lists. Here’s one way:

-- Pasted Max Patch, click to expand. --

Apr 11 2013 | 1:55 pm

[urn] maxes out at 4094. End of story. It’s documented somewhere, but I’ve been living with this so long that I can’t remember where. It’s been this way since about 1989.

I’m not sure if this is an issue, based on the original question, but if you need to start a new sequence when you’ve removed all the "balls" from the urn, trigger a ‘clear’ message when you get a bang out the right outlet.

Note that the difference between the behavior of [urn] and [random] becomes less and less noticeable as the size increases. By the time you get to [urn 4094], there are few situations where an observer is likely to tell the difference from [random 4094]. So maybe explain why you need such a humongous [urn]. And, of course, there are ways to build larger urns, one way following the example laonikoss provided.

Another way to get huge urns is available to folks using Litter Power with the [lp.ernie] object.

Apr 11 2013 | 3:09 pm

Another way to get huge urns is available to folks using Litter Power with the [lp.ernie] object.

Peter, I’m afraid your Litter Power don’t work with 6.1, resnamecopy is still not found, but now the externals can’t load anymore…


Apr 11 2013 | 3:12 pm

May be helps /thanks2EJ ;>)


Apr 11 2013 | 10:16 pm

@Patrick: please direct message me. There is an interim fix for this problem.

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

Forums > MaxMSP