Learn about building and using Max for Live devices.
-
phattline
- Posts: 176
- Joined: Sun Jul 05, 2009 5:54 pm
Post
by phattline » Fri Jun 04, 2010 8:53 pm
EDIT- SOLVED
ANSWER: DONT USE NAMES JUST TYPE "pattr" thats it

fu** i spent all day for that lession
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?

Last edited by
phattline on Fri Jun 04, 2010 10:18 pm, edited 1 time in total.
-
olivierseb
- Posts: 230
- Joined: Sun Dec 11, 2005 8:52 pm
- Location: FRANCE
-
Contact:
Post
by olivierseb » Fri Jun 04, 2010 9:22 pm
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
-
phattline
- Posts: 176
- Joined: Sun Jul 05, 2009 5:54 pm
Post
by phattline » Fri Jun 04, 2010 10:09 pm
olivierseb wrote:
so is it giving no name means m4l gives a unique name for each pattr ?
it looks like that
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

)