Max Recipes

From Cycling '74 Wiki
Revision as of 17:01, 4 December 2012 by Max Gardener (Talk | contribs)

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

Here is a collection of Max patches you may find useful in your daily life.

One of Each

There are times when you want to generate a random listing of numbers from 1 to N, where each number is used only once - a musical tone row is a good example of this. This code snippet will fill a table object with a list of arbitrary size, and regenerate new lists when you need them.

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