Forums > Max For Live

live.drop provides file location. what's next? how do i get file content ?

Dec 19 2012 | 12:14 pm

Hello. live.drop is a very cool drag-and-drop utility that i’d like to use with my components.
how do i get from the file location that it provides, in my case, for example: "osx:/file/path" to the actual content of the file ?
i can create an mxj patch that splits the first ‘:’, adds /Volumes/ before it and reads the file and return it’s content, the question is, is there a device that already that all of that. i’m guessing there is and i’m just missing something.

i’m just trying to read a simple text file with numbers and to paste it to a matrixcntrl.

any information regarding the issue would be greatly appreciated.

thank you !

Dec 19 2012 | 10:01 pm

especially with matrixcntrl things are not so straight forward. here a suggestion:

-- Pasted Max Patch, click to expand. --

Dec 20 2012 | 6:09 am

thank you for your help. i’m trying to understand your patcher. you wrote to drop a matrixctrl data file here. is there a specific format that needed to be use ? in my case it’s a file a file that contains 8 rows and 8 columns of numbers and unfortunately i see no changes when i load the file.
it seems like live.drop doesn’t show that files are loaded at all.

Dec 20 2012 | 9:18 pm

you need to create such a file first by setting some connections in the matrixcontrol object, than you hit the ‘write’ message and save these settings. on a mac this results in a extension less file that you can drop on the dropfile object to restore the settings.
i just tested it again, ( max 6.1) it works fine.
if you need a 8×8 matrix, simply change the properties of the matrixcontrol object in its inspector. the rest can stay the same.

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

Forums > Max For Live