Forums > MaxMSP

What is the best way to edit bPatchers with same file name?

December 9, 2013 | 12:16 am

I have a maxpatch that has 50 bpatchers all with the same an embedded patch (tPatch.maxpat). I am trying to edit tPatch.maxpat while also keeping an original copy in case I mess up. So I made a copy of the entire folder (with all patchers used) and edited the tPatch.maxpat.

However, because the copy folder is in the same location (the Cycling ’74 folder) the main patcher still refers to the original tPatch.maxpat. Is there a simple way to change this (to point Max to look at a different folder location for tPatch.maxpat)?

It seems like if I change the file name, I am going to have to create a new bunch of 50 bpatchers with the new file name. Then I would have to do this each time I made an edit… Thanks

December 9, 2013 | 7:11 am

yeah, if you rename or move files, max keeps track of that. this is a well known trap how to loose original copies. :)

if i were you, i would edit the file in question, and only make a copy as backup copy. this seems to be the most easy process.

but generally, what you were looking for is the "paste replace" function from the menu bar.
change the source file of one of the bpatchers, then copy it to clipboard, select all other bpatchers, and "paste replace" them.


December 9, 2013 | 7:47 pm

> Is there a simple way to change this (to point Max to look at a different folder location for tPatch.maxpat)?

You should not put your stuff inside the cycling74 folder.
Better to have it somewhere else, and manage your paths (the "points" where max looks) by using the "files preferences".

December 17, 2013 | 4:48 pm

But certain things that I use (in this patch for example) need to use external objects, don’t those have to be in the Cycling ’74 folder? Also, if I do keep a file in the cycling 74 folder and "point" to another folder, they will both be in my search patch correct?

December 18, 2013 | 12:17 am

if you are using some third part externals, you can put it either in the cycling74 folder (I would not do that) or in another folder and add that folder to the file preferences, or in the directory of your main patch that are using those.

to have more info about the search path, you should have a look that part of the documentation :

December 18, 2013 | 3:55 am

Plus, if you want to have a local-version of an abstraction for a patcher and keep the ‘backup’ version for everything else, you should consider using a ‘max project’. Though if you’re not aware of self-maintained Maxpaths, you’d really better begin there.

Viewing 6 posts - 1 through 6 (of 6 total)