Page 1 of 1

pattr object for multiple used patches ---SOLVED---

Posted: Fri Jun 04, 2010 8:53 pm
by phattline
EDIT- SOLVED
ANSWER: DONT USE NAMES JUST TYPE "pattr" thats it :roll: fu** i spent all day for that lession 8O

Hi, i have programmed this device:
http://www.phatline.at/m4l/NochSimpler1.amxd

It uses the pattr object to save a string with the liveset (a path to a folder on my harddisc, where i have samples...) The device work great if I use one Instance, but when I put this device on a few miditracks in my Ableton set, then it dont save the path with the Liveset.
So how do I name a Max4Live "pattr" object, or which Attributs I have to set?
I simply want to multiple use this patch. I dont want 7 patches for 7 miditracks, with 7 differnt "pattr" names- any Idea?

here a quick screenshot where you can see all that have to do with the "savestring"

what do i wrong?

Image

Re: pattr object for multiple used patches

Posted: Fri Jun 04, 2010 9:22 pm
by olivierseb
Thanks for the Tip :)

so is it giving no name means m4l gives a unique name for each pattr ?
So you could have used a name but with --- before like ---sample1

olivier

Re: pattr object for multiple used patches

Posted: Fri Jun 04, 2010 10:09 pm
by phattline
olivierseb wrote: so is it giving no name means m4l gives a unique name for each pattr ?
it looks like that :mrgreen:
So you could have used a name but with --- before like ---sample1
no this dont works ... it seems that when you do that - Ableton dont regonizes the object - I think ofcouse "---" say to ableton "i dont see you" or so...
with --- it dont save anything even if you use only one instance of the patch... whatever --- dont works... no name is the only way I found that works (and the pattrstorage object in the screenshot is useless :wink: )