Here is a collection of Max patches you may find useful in your daily life.
Please consider adding your own patches to the recipe book. You can add to the recipe pages by adding your own code snippets using the
<maxcode> tag described in the Editing Quickstart page, or you can include a link to a patch posted to the Max Forum (if you post a link to the Forum, future readers can also see the discussion that generated the patch, too).
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.