Read from different buffers with buffer and peek in Gen~?

maaark's icon

Hi all,

I'm trying to make granular synthesis-bpatchers which can have their own files and settings loaded.
Every one of these should have their own buffer. I was thinking of using (set #0BUFFERNAME) to give every buffer a unique ID.
Only problem is, how do I change the argument of the [buffer] and [peek] objects to read from the uniquely generated buffer name?

Thanks in advance!

maaark's icon