poly~ not updating number of inlets and outlets

mbira's icon

Hi folks. I'm new to poly~ and I'm trying to create my required inlets and outlets inside the patcher that is being hosted by the poly~ object. From what I can tell from the documentation, I can just create 'in' and 'out' objects and they should show up on poly~.

Can anyone tell from my picture what it is that I'm doing wrong? Thank you!

mbira's icon

Ah, never mind- I just realized that you need to close and reopen the ~poly patch in order for them to show up!

Pedro Santos's icon

I usually just cut/delete the poly~ object, and immediately undo the operation, in order for it to update.

But it's a hack...

Roman Thilenius's icon

patchername message? if you need it often.

tiago morais morgado's icon

you have to set both in~ and inlet as well as out~ and outlet objects, in order to update it. at least that's how it functioned back in the old days. another thing you should acknowledge, is tha you have to save your poly~ abstractions, closing the patch and then reloading your patch or simply hitting ctrl-a ctrl-c and ctrl-v for changes to take effect. at least things functioned like this in legacy versions, like max 5 and so

mbira's icon

I had an in and out (out not shown in pic). I did save the abstraction-which is when I thought it would update and it didn’t. I had to close and reopen poly~ to see the updates. So maybe this is a bug or unexpected behavior? I also tried doing updates in the example abstraction in the poly~ help example as well with the same results/

Roman Thilenius's icon

a still open window of a poly~ voice might not neccessarily reflect an in between updated patcher.

however, you are right that it is a bit different than with abstractions. this is not a bug / unavoidable and the workaround you found seems ok.