Nice Tidy Folder Structure
Is there any way to enter absolute file names in (to read MIDI files for example). The reason I ask is that although I have set up my project folder as a preferred file path, it doesn’t read the MIDI files in my sub folder. I’m getting a lot of files to deal with in my project and I want to be able to tidy it up a bit (a lot).
Actually I’m really referring to the file path relative to the parent folder – not the absolute path as obviously this will change from system to system and if the parent folder is moved.
Sorry ignore this thread – for some reason it has started to work. I was messing around with some help files for file path objects and it started searching the sub folders all of a sudden. No idea why though.
> I have set up my project folder as a preferred file path
Allow me to advice against such practice. If during development you start working on duplicates in order to be able to go back to a previous version, by say copying the entire folder, you wouldn’t know in which order max is going to search the preferred paths, first the old, or first the new folder? It might be that the main patch loads previous versions of sub patches.
Right. Allow me a little rant.
You have your main patch and your abstractions together in a patch folder which is of course -not- in the maxmsp/patches folder because the maxmsp/patches folder is inside the applications folder. Your projects are probably on an external disk anyway.
Your patch folder is duplicated for every new version of your patch.
If you want to place abstractions in sub folders of your patch folder, which you want as soon as there are more than two (I personally have around sixty), max will not find them unless you explicitly add that sub folders to the global max search path(!).
Well, of course you want that to happen automatically (–> retrieve the path with thispatcher, append the sub folder name and send that to the filepath object). Problem is, this happens -after- loading your abstractions.
So every time you go to a new version of your patch, the first time the patch starts up, it will load the old abstractions. You will happily go and edit those and only after you restart your patch you’ll find out that you have been editing the old versions.
So cycling ’74, please please please add an option that makes max search for abstractions in sub folders of my patch folder!
> So cycling ’74, please please please add an option that makes max search for abstractions in sub folders of my patch folder!
My sentiment exactly. Answers my question as well as it seems that it is not possible to do this in any easy way at the moment. Glad to see I’m not the only one frustrated by this.
On 1/4/08 8:16 AM, "Andy Brennan"
>> So cycling ’74, please please please add an option that makes max search for
>> abstractions in sub folders of my patch folder!
> My sentiment exactly. Answers my question as well as it seems that it is not
> possible to do this in any easy way at the moment. Glad to see I’m not the
> only one frustrated by this.
Gary Lee Nelson
Quote from Mattijs :
"Problem is, this happens -after- loading your abstractions."
Useful trick : make a "launcher" to your patch, that will make this path
from [thispatcher] and add appropriate abstractions folder with
[filepath search 0]
*then* launch the patch.
Though it works well most of time, I could observe this technique was
some situation, and the added folders not taken into account before
… but never found out why, or how to make this reproductible.
If anyone knows about this mysterious behaviour… I ‘d be interested.
(Also if anyone know about the mysterious disparition of GL textures
GPU memory… but this mystery is maybe for another list’s Sherlockit
Forums > MaxMSP