Buffer title changing via abstractions in a gen~ patch.

tejan's icon

in the max world, i have a buffer with the name #1 so the name of the buffer changes to whatever the name of the abstraction is. (‘patch’ loop changes the buffer’s name to loop if i open that specific abstraction)

in gen, i have three operators with the names buffer #1, dim #1 and peek #1. its giving me an error in the console saying ` dim/peek • invalid constant ‘#1’, using 0 instead’

is there any way, to use the param operator (or whatever else works) to make gen also recognize #1 and change it corresponding due to the abstraction?

Graham Wakefield's icon

On the gen~ object set @buf #1, inside gen~ use buffer buf, sample buf, etc. Basically, #1 etc does not currently work inside gen, but gen buffer references can be set dynamically by sending messages or setting attributes of the gen~ object.