Using the "---" Unique identifier in Gen

Evan's icon

I am working on converting a recording/playback/buffer manipulation system with Gen objects for greater flexibility and sonic possibilities, but I have run into a problem. I use multiple instances of this patch in one Live set, so I have to be careful with my naming of things, as they all communicate to each other, but I don't want them sharing some send/receive pairs, and the buffer~/groove~ names. I get an error when trying to reference an external buffer with the "---" identifier in Gen. I thought of trying to dynamically rename the buffers, but I don't think you can do that in Gen (please correct me if I am wrong!). If anyone has any advice regarding this topic please do share!

Evan's icon

What a perfect solution. Now I can get back to the task at hand. Just successfully rebuilt the [record~] object in Gen, so I'm off to rebuild the [groove~] object. And if you don't mind I'm going to cannibalize your fart noises patch for some glitchy goodness.

vojko v's icon

why are half of answers on this forum missing?

what is the solution to this problem?

vojko v's icon

ah, works great thanks

👽'tW∆s ∆lienz👽's icon

ah, works great thanks

:D did you actually find a solution or was this last post meant humorously? (made me laugh XD haha..) sorry, this thread is my fault, i think the answer was that you can setup prepared buffers within gen, and switch which outer buffer they refer to by sending the message from your parent max patch to the gen~ object:
"[name of internal/gen~ buffer] [name of outer/msp buffer~]"

to get the buffer named 'wut' inside gen~ here to refer to the outer buffer~ 'ftw', click the "wut ftw" message

hope it helps :)

Roman Thilenius's icon

leon theremin wrote:
>>
>>

nah, christinas solution works better.