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 <code><maxcode></code> tag described in the [[Editing_QuickStart#Including_Max_code_snippets_on_a_Wiki_page|Editing Quickstart]] page, or you can include a link to a patch posted to the [//http://www.cycling74.com/forums/ Max Forum] (if you post a link to the Forum, future readers can also see the discussion that generated the patch, too).

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 <code><maxcode></code> tag described in the [[Editing_QuickStart#Including_Max_code_snippets_on_a_Wiki_page|Editing Quickstart]] page, or you can include a link to a patch posted to the [//http://www.cycling74.com/forums/ Max Forum] (if you post a link to the Forum, future readers can also see the discussion that generated the patch, too).

+

+

----

----

Latest revision as of 18:07, 4 December 2012

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.

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

Copy all of the following text.Then, in Max, select New From Clipboard.