Forums > MaxMSP

Basic Question: Max file structure?

August 17, 2013 | 9:08 am

I’m going through this tutorial on abstractions:

http://cycling74.com/wiki/index.php?title=20Objects_Lesson_08_-_The_Patcher_Object#Theory:_abstractions

I created the basic patch and saved it. The instructions then state:

Next, open a new patch, create a new object box, and enter the "add60" into the box. You will see it is created with one inlet and one outlet.

This is not working for me. Suggestions? I understand Max6 needs a "Max for Live" and "Projects" folder. I saved my patch (add60.maxpat) in the projects folder but the task listed above still does not work.

Thanks in advance.


August 17, 2013 | 9:25 am

That sentence you quoted leaves out an important factor. The abstraction file must be in a place where Max can find it: either in the same folder as the parent patch, or in a folder that is part of the Max File Search Path.

Max Tutorial 15 Abstractions says, "As long as your abstraction can be found in the Max file path, you can type its name into a new object box and it will be loaded directly into your patch. The abstractions used in this tutorial are in the same folder as the patcher accessing them; a library of abstractions can easily be created by placing them in a folder (or a bunch of folders) inside the "patches" folder of your Max installation, or anywhere else Max looks for files."

The tutorial you’re reading does say, ‘Save the patch as "add60.maxpat" into a Max folder,’ but that’s not really as specific as it should be. You can solve the problem by saving your newly started patcher in the same folder as your abstraction file before you create the object in the new patcher, so that your new patcher now exists in the same folder as the abstraction file, or you can simply save your abstraction file in a folder that you know is included in your Max application’s file search path.


August 17, 2013 | 3:18 pm

Thanks. That clears it up.


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