Making new objects : varname in a new buffer~ object ? (with [thispatcher] )

Jun 4, 2011 at 12:03pm

Making new objects : varname in a new buffer~ object ? (with [thispatcher] )

am stuck

trying to dynamically create buffer~ objects with [thispatcher], give it a random (urn) scripting name (for being unique) and be able to fill it with a sound automatically.

But how to write it ? the argument “@varname something” simply adds in the object, but doesn’t work … Grrrrr

– Pasted Max Patch, click to expand. –
#57427
Jun 4, 2011 at 1:48pm

Ok, things are evolving

I understood how to give a unique varname to the object i’m making, with “newobject newobj” instead of “newobject buffer~”

fine

But then, as i would like to fill the buffer with a sample, i’m trying all type of syntax. None of them work. Each time

– Pasted Max Patch, click to expand. –

… or other method, not more successful

– Pasted Max Patch, click to expand. –
#205787
Jun 4, 2011 at 9:55pm

I have done the below before and seems to work. Sorry for the messy patch, I ripped it out of a large project… you will need to clean it up a bit.

– Pasted Max Patch, click to expand. –
#205788
Jun 9, 2011 at 1:58pm

You might just want to have a look at polybuffer~

#205789

You must be logged in to reply to this topic.