live.drop provides file location. what's next? how do i get file content ?
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 !
especially with matrixcntrl things are not so straight forward. here a suggestion:
----------begin_max5_patcher---------- 1024.3oc0XlsjiZCEF9Z6mBUt5bShii1.6N2MyqwTo5R.pcqIffRH7zYlZd2 iV.uFVZ51D6KrwHjge9z+4bjzOlOaQT9q7xEf+D7EvrY+X9rYtlrMLq97YKx XuFmxJccaQbdVFWpWrzeMM+Usq8DUdAHioUhWi0pzUfDllAdVjxAuvU7l9+r Zajs+vUv5VJX53WDxsOo3wZuRPAvUAKAAHSm.nGItCaVAA+U8+Qj3dl4Qe82 oa1eqykZIKi6tzmTBVJ3y4oIMWVVkIjobs60.cz+oT7c2+AcPSl9lWoa5Lz1 3OmO290x2Il9lRn4f3JkxbUPolYNK+4FvIU5TfN2gs2Dwvz0VHQrTpejs9lD YY7xR1V9EHKNkyTMs5eF5+of6ewWrX+aX6XASCsGBfNpD1BUHigJ32BUPifJ R92Lp6Bn7KlmBrUnHLNuN4BlZQA0vESbFE2oaAdOwk+38wk0XGP7bg7XWbg7 38DWf.33Bgng9LKTmiw.2NYR38DS9sQ6SZfBxE4PC5jIA2SL4WeWwOAv01.G 7FWkaeV2V4B8dhKUxBV7eCfftBjr3Y4IGFfIBWae5Ixhb0qYS9.qY+.F7.A7 .ZjksgN+Sfu5c2ksI2UkmFfIpSxfdziDriIAa5xxfG0LiIWaxzlkIoJqXbPY iqNMNj1uaAeWkzQCh.kfnVoRDSt0low9w86NsN0yE1WyBg5bxMXzsY5l8qur UljJJcYecGGP5Wj21fHNeSXK9Fz9kLUvTFZn4pm3RVTp6wB6BFm9Vi+.iXbq kbjYXCItY3RI9I20ULC51bgQohc7U1ccn4wuio1KtKtXBONOgmY9b7XykPaY eIf8QQa7YYndSCrEvg5xzfdCll5VKY63IOwzlffnJM+vuJq4TMnrrHshm+bS yMserRZdqoKu7ZB4NQo3TgdRGJeIWoak1mz0zb41+id56naLu4vGTIVEufKS .JNKYjEYoGmYXMsqDkH3UOQ46ufxwQFUHJFBQAG1tiCazRdZ64UapyzeDheJ JDeU4dlVa3UmdzShcLOSiP6HvgmEwS1uCVmZLcu.FKr77cL0QAa6mNhTlWoh a3WybUAG3PBuTKjLsHWdTmrkZNpSuHRR3xiqxjHJs4PRZee1FpdrdfaI8Xm0 A.2idNSzWS8fFx3kSzSHeP8nmvoUN8hG5jomvgHmMSlbraP3vzCdZh1gCUOn Ia3pOy7YL7+a4bFBuptGx.xERBmrQK61X1q6gDNs7oW6CcZ0Su7IX5zyPxFN gCWzghmowNe1rZZQOS2TMNqtTK5Y5R+fo2T1GD41RNCYlOnwNZ4WmAqnXGWU VeOcRwrFuulqrmFtzcpP5O0shnEJtcU699atel61Om+u.eGWwuB -----------end_max5_patcher-----------
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.
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.
Forums > Max For Live