Forums > Max For Live

buffers name conflicting in instatiations of same device

September 16, 2010 | 12:05 am

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


September 17, 2010 | 8:13 pm

|buffer~ devicename—|


September 20, 2010 | 12:47 pm

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)


September 20, 2010 | 4:11 pm

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


September 20, 2010 | 5:35 pm

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

greets ;)
tiago morgado


September 20, 2010 | 6:19 pm

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


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