Re: How to make an abstraction

Forums > MaxMSP > How to make an abstraction
November 29, 2010 | 11:51 pm

save any max patch as you would normally(.maxpat). place it anywhere within max’s search path(sometimes i keep it within the same folder as the parent patch just to keep build-files together). then type that file’s name within an object. Say you have abstrakshun.maxpat, stored somewhere in a folder(or just use max’s search/file path preferences), and within that same folder have saved a parent patcher called ParentPatch_OpenFirst.maxpat, in the parent patch you can now have the object [abstrakshun].

it’s a bit like using subpatchers except abstractions can also have variable arguments, see this tutorial again, specifically the sections labelled, "Using an abstraction with replaceable arguments" for best explanation:

and they help you modularize so that you can make edits to parts without having to go through the whole, or more importantly, make edits to a source file so that all instantiated copies reflect those edits all at once.

see attachment for a simple example of how one is created.

*Never fear, Noob4Life was never here!*


Subscribe to the Cycling '74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required