buffers name conflicting in instatiations of same device

Sep 16, 2010 at 12:05am

buffers name conflicting in instatiations of same device

hi guys.. I created a maxforlive device that uses a mechanism close to the sineqube sapling 1.1 MaxMSP standalone.. so, now I would like to add the capability to the patch to add simoultaneous intances to a live session.. but there is one small problem. In MaxMSP, when you create a buffer~ If you have more than one instance of buffer~ object with the same name, they will obviously conflict and use the same buffer.. but in maxforlive, I thought that each device was independent but it’s not.. so, my idea was to make something like buffer~ #1 so that the #1 assumes the numer of the instantation of that device.. how do I make it possible?

thanks advance
tiago morgado

#52332
Sep 17, 2010 at 8:13pm

|buffer~ devicename—|

#188085
Sep 20, 2010 at 12:47pm

I am currently designing a mechanism for auto-generating a name for a buffer so that I can instatiate the same patch as many times as I need..
I give you the source code bellow.. and I need to know how do I take out the spaces generated by the pack object, and also, how do I place ” ” between the name that is randomly generated..

thanks in advance folks

greets from portugal
tiago morgado

– Pasted Max Patch, click to expand. –

(edited by admin – please use copy compressed)

#188086
Sep 20, 2010 at 4:11pm

Perhaps i misinterpreted your issue? I thought your problem was running multiple devices and maintain the buffer name without affecting each buffers content….

#188087
Sep 20, 2010 at 5:35pm

there’s no problem.. thanks anyway.. I already re-formulated the post and someone else who gave me a proper answer..

greets ;)
tiago morgado

#188088
Sep 20, 2010 at 6:19pm

Just checked your patch…from your original post i thought you wanted to do it for M4L devices since a random name would not be required, hence my post. Glad you got it sorted though.

Dom

#188089

You must be logged in to reply to this topic.