From Cycling '74 Wiki
Revision as of 17:12, 30 July 2013 by Cory Metcalf (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


urn online refpage

Using the urn object

When we want a random number generator that will not repeat numbers, we can use the urn (unique random number) object.

urn Tutorials

urn Tips and Workarounds

When urn has used all the numbers in its range, it requires the message "clear" before it will output again. Sometimes it can be useful to make sure that urn always outputs.

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

Urn is a great way to generate random tables of data or to scramble existing ones. This simple patch uses urn to create a simple alphabet cypher for encrypting messages.

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

Third-Party Max externals similar to the urn object listing for the urn object

The urn-jb abstraction by John Bischoff can be extremely useful if you want to autoclear the urn and prevent repetitions. urn-jb is included with max in ./examples/max-tricks/random_with_no_repeat/urn-jb.maxpat

People who looked at/used this object also looked at....

Errors or Clarifications

(please list things that you believe to be errors or omissions from the existing refpage)