Forums > MaxMSP

Save subpatches as externals

November 1, 2007 | 1:22 pm

Helu

Sorry to bother with noob questions…

How do i save my subpatches so i can use them in other projects?

Thank you!

(I know how to download externals and save them in a folder thats included im max search path, but i cant figure out how to save my own little creations)


November 1, 2007 | 1:59 pm

The same way you, just need to put it on the max search path. Save
your subpatches as new self contained patches and then put them
somewhere on the search path. As long as they don’t have the same
name as another object it should work. This would make an abstract
(as opposed to an external).

P

On 1 Nov 2007, at 13:22, petterdass wrote:

>
> Helu
>
> Sorry to bother with noob questions…
>
> How do i save my subpatches so i can use them in other projects?
>
> Thank you!
>
> (I know how to download externals and save them in a folder thats
> included im max search path, but i cant figure out how to save my
> own little creations)


November 2, 2007 | 10:27 am

Thanks alot, but i dont get my head around this…

Im trying to save my patches as mxt. or pat. and i put them in a folder that is recognized in max searchpath (file preferences)

I then restart max, open a new patch, choose an object box and write the name on the patch i saved.

This is obviously not the way to do it :)

Thanks


November 2, 2007 | 5:08 pm

No, that is how you do it ;) And you shouldn’t have to restart Max either. Save as .pat, I don’t know about .mxt.

Take another look at the "Your Object" in the tutorials.

Don’t forget the patcher-in-box option in the palette menu, if you want the patch to appear in the main patch (as opposed to a popup window with the patch inside). Plus you can have arguments (#1 #2 etc.) to the patch in either case.

CJ


November 5, 2007 | 9:35 am

ok , i make a new patch containing 10 cycles~

I save this patch in a folder that i have saved in max search path
( its calles max external folder)

I call the patch maxcombo~.pat

I then open a new patch, drag in an object box, write maxcombo~
on it , and nothing happens.

This is still obviously very wrong!

Ive read the my objects tutorial.

Any help appreciated

Thanks


November 5, 2007 | 9:48 am

When it’s in the search path (and not in the same folder you’re working in), it is not found until relaunch I believe. Anyhow best would be not to keep it in the externals folder. Suppose you update max and a new externals folder is installed, everything you put in there yourself would be gone. (I don’t know as a fact that the max installer does it this way but I don’t want to find out the hard way.) Moreover, if two items with the same name exist in folders included in the search path (eg you forgot about the existence of the first one), who knows which one is actually loaded. My approach is to keep abstractions in the same folder as the main patch that loads them, and outside the search path, or, when abstraction have proven to be reusable more then average, I keep them in one folder with my own items, inside the search path but not in the max application folder.

_
johan


November 5, 2007 | 10:33 am

Ok, i made a new folder on my desktop, called it my max abstractions, and searched it up in max file preferences.

I made a patch called 9cycles1onepole~.pat and saved it in my max abstractions folder.

I then restarted max, made a new patch, dragged in an objectbox,
wrote 9cycles1onepole~ on it and nothing happend.

This give me headaches :)

Thanks


November 5, 2007 | 11:16 am

Just an idea. Try saving it with a simple name (without the ~ and
spaces). So call it something like myabstact. I don’t know what the
problem is but this might help :-)

P

On 05/11/2007, petterdass wrote:
>
> Ok, i made a new folder on my desktop, called it my max abstractions, and searched it up in max file preferences.
>
> I made a patch called 9cycles1onepole~.pat and saved it in my max abstractions folder.
>
> I then restarted max, made a new patch, dragged in an objectbox,
> wrote 9cycles1onepole~ on it and nothing happend.
>
> This give me headaches :)
>
> Thanks
>


November 5, 2007 | 12:15 pm

Sounds like you are doing everything right.
What exactly does ‘noting happend’ mean? Didn’t you get any messages in
the max window etc..?
Also you could try to post your 9cycles1onepole~.pat.
And you will have to make sure there is no other file with the same name
in you search path.
__________________________________

Jakob Riis
New: jr.abstractions for MaxMSP
http://www.sonicescape.net/maxmsp/
__________________________________

>
>Ok, i made a new folder on my desktop, called it my max abstractions,
>and searched it up in max file preferences.
>
>I made a patch called 9cycles1onepole~.pat and saved it in my max
>abstractions folder.
>
>I then restarted max, made a new patch, dragged in an objectbox,
>wrote 9cycles1onepole~ on it and nothing happend.
>
>This give me headaches :)
>
>Thanks


November 5, 2007 | 1:14 pm

seems you are doing it all fine

what i do (since years !!!!!)

in my externals folder i have a sub-patch (called 3rdExternals) in
which i have a sub folder "myexterns"

when i make an abstraction i want to re-use as an external (with
names such an delmono, delmono~, mvol~ stvol~ etc etc) i save it
there, and when re-starting max it is always seen/found , no problem

best

kasper

>Ok, i made a new folder on my desktop, called it my max
>abstractions, and searched it up in max file preferences.
>
>I made a patch called 9cycles1onepole~.pat and saved it in my max
>abstractions folder.
>
>I then restarted max, made a new patch, dragged in an objectbox,
>wrote 9cycles1onepole~ on it and nothing happend.
>


November 5, 2007 | 3:13 pm

now it works!

sorry for bothering, but thanks for useful tips anyway


November 6, 2007 | 10:10 am

petterdass schrieb:
> now it works!

I bet you forgot to give it ins and outs… ;-)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


November 6, 2007 | 10:13 am

jvkr schrieb:
> When it’s in the search path (and not in the same folder you’re
> working in), it is not found until relaunch I believe.

This is not true, only if you create a new subfolder within the search
path, it will be included on next start, Max just can’t know that you
did that.
Normal files will be found, if they are within the search path which
existed on start up…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


November 6, 2007 | 3:47 pm

thats right, and i felt a bit stupid when i found out!


November 6, 2007 | 4:13 pm

In fact, you can simply work with a subpatch until you’re ready (the subpatch is finalized), say Save As… give it the same name, then go back to main level, click in the p object (which is still a subpatch at this point), erase the "p" — voila, your object / abstraction appears. All your connections stay put. This way you can have the convenience of working within the main patch while developing, then use the power of a separate object once it’s done.

Don’t forget pcontrol to pop that baby open and closed… lots easier and prettier to click "open" or use a keystroke than to double-click an object box.

–CJ


November 7, 2007 | 6:13 pm

petterdass schrieb:
> thats right, and i felt a bit stupid when i found out!

We all had our feelings, I still have after almost 20 years of patching.
But none of the other supporters got the catch… ;-)
That’s why no matter how stupid you think it is, it might point someone
else into the right direction, if the solution is coming up on the list
as well. Not only for those who struggle on their first steps (remember,
you can’t learn walking without falling…), also for those who want to
help…

We’re all with you on your path to Max mastery…

All the best

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


November 7, 2007 | 9:17 pm

Thanks alot, Stefan!


November 8, 2007 | 10:24 am

2 more problems…

1)
after double clicking an abstraction i struggle to get it in edit mode, whats the quickest way to edit abstractions?

2)
I would like my abstractions to show up in a dropdownmenu, (i forget what i call them)
can i do this with including a bpatcher in the abstraction?

If this is already answered in the thread : I apologize :)

Thanks


November 8, 2007 | 10:50 am

On 8 nov. 07, at 11:24, petterdass wrote:

> after double clicking an abstraction i struggle to get it in edit
> mode, whats the quickest way to edit abstractions?

Contextual menu on the abstraction’s instance-> Open Original (at the
bottom of the menu)

or

double click on the instance, and in its window’s title bar,
option-command click on the name and choose the name again.
(don’t know if it’s possible that way on windows)

or

open in the FInder.

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://www.crfmw.be/max


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