Cannot change sample rate of buffer within a polybuffer~ ?

Lorenzo Lamasse's icon

Hey all!

In this sample patch, I'm trying to instantiate a buffer inside a polybuffer~ at the default samplerate, then change that sample rate by setting a buffer to address my polybuffer~ but it doesn't seem to work. Is there a way to select samplerate per buffer within the polybuffer~ when using appendempty ? Or am I missing a key point ?

Thanks !

Max Patch
Copy patch and select New From Clipboard in Max.

Lorenzo Lamasse's icon

Minblowingly, if you modify a polybuffer settings BEFORE creating it, it seems to work.

I connect the buffer to a nonexistent reference, set the samplerate of that reference, and finally use the appendempty to actually create the buffer :/
That's weird !

Max Patch
Copy patch and select New From Clipboard in Max.

Emmanuel Jourdan's icon

This looks like a UI bug, the sample rate is set properly. I'll make a ticket, thanks.

Max Patch
Copy patch and select New From Clipboard in Max.

Lorenzo Lamasse's icon

Glad to hear that, thanks !
Cheers,