I'd like to change the buffer from which a peek reads dynamically through a return function in gen~. So a return function spits out the buffername for the peek to read from.
But I can't get it to work.
I attached a patcher in which I recreated the problem. The first gen~ isn't working and the second is working. The second doesn't have a return function, but the name of the buffer is assigned to another. And that is working. That's why I thought it would work in function as well.
Does anybody know how to do this? Or if it's even possible?