-
Notifications
You must be signed in to change notification settings - Fork 0
Home
- versioning of patches is no longer required, therefore versioning has been removed from the
badge
object, andbadge
has been replaced bybadge2
- reorganization of
patchers
folder - all
.maxhelp
files are now properly organized in thehelp
folder - removal of
tutors
,tutorials
,demos
,repertoire
, andapplications
folders- the patches in these folders have either been moved to
patchers
or CNMAT Pedagogy, or removed
- the patches in these folders have either been moved to
There are two important aspects to the programming style of the CNMAT MMJ Depot. First, it should be relatively easy for developers to add new patches and second, it should invite users to copy and paste elements into their own patches. To facilitate these, the number of required elements are minimal.
Specifically:
- Every help patch must assert authorship (if known) and some form of UC License or Disclaimer.
- Every "main" patch must have a help patch.
- Every patch have the proper extension (eg .maxpat, .maxhelp) and follow the naming conventions.
- There are two patches in the depot that allow contributers to submit their own patches and have them show up in the dynamically created overview. These are "banner.maxpat" and "badge2.maxpat".
When adding a new patch to the depot, add the max patch to the appropriate subfolder in patchers
and add the helpfile to the same subfolder in the help
folder. Be sure to include banner
and badge2
in your patch, and set the object name and description in banner
and the patch name and author in badge2
. If you would like your patch to show up in Max's extras menu, add a patch to a subfolder in extra/CNMAT-MMJ-Depot-2.0
. Note: only max patches, not helpfiles will show up in the extras menu.
Another important consideration is avoiding duplication. Whenever there are two copies of a piece of software, inevitably one ends up changing (like when a bug is fixed), and then the other copy doesn't get updated, so they go out of synch. (This is called "version skew" and it drives people like Matt and Michael crazy.) So never have two copies of the same patch in two different places in the Depot; instead move that useful patch into a module or the baseline. And before you add something new to the Depot, see if you can find something already there that does the same job.
Please find more details on including your patch into our system here.