Forums > MaxMSP

strange urn message

October 18, 2009 | 5:32 am

Hello Everybody!!!

It appears that urn does not handle numbers above a certain limit
as a range. I am pasting the following patch to demonstrate my point:

— Pasted Max Patch, click to expand. —

The number I am using is the integer 206638. It will print the message urn: illegal size 206638. Is this some kind of default behaviour? If so, is there any way around it? Or some external object of the same functionality but being able to take care of large numbers? In the range of pow(32, 2)?

Your help is greatly appreciated in advance!

October 18, 2009 | 7:53 am

Urn’s random generator limit is 4096, as far as I can tell. Anything above that upper limit will give an "illegal size" message. There’s probably a workaround, but I don’t know it — would be curious to see one.

October 18, 2009 | 5:53 pm

Have a look to ej.urn from my ejies.

October 18, 2009 | 8:18 pm

Thank you both for your replies!

@Emmanuel Jourdan: thanks! I will have a look when I get back to my


October 19, 2009 | 1:01 pm

Well, I think ej.urn is what I needed! Furthermore, I really liked the
ej.function.js jsui external! Good Job!

October 27, 2009 | 7:53 am

You could also just use random, the likelyhood that you get a repetition is very small. Unless you still believe that gambling is a good way to earn money…;-)


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

Forums > MaxMSP