How to tell when Poly~ is done loading?

Feb 18, 2012 at 3:24am

How to tell when Poly~ is done loading?

Curious about this – I’ve tried a few things but none of them seem to work great. Say I’m dynamically changing the number of poly~ subpatches loaded (with a “$1 voices” message) – what’s the best way to tell when they’ve ALL finished loading?

I was hoping it would be something as simple as a loadbang to an output/send – this of course bangs once for every voice, but the last bang should be once they’ve all loaded. Sadly this doesn’t seem to be the case, especially with complex poly~ patches.

Anyone have any other ideas? Maybe [thispoly] > [bang] > [outlet] would work better?

#61852
Feb 18, 2012 at 9:34am

It would be possible to keep a counter, however it appears deferlow would be fine as well. With larger patches that need to load sounds this could be different however.

Edit: Maybe the deferlow should be after the loadmess

– Pasted Max Patch, click to expand. –

`

#223351
Feb 18, 2012 at 9:19pm

Yes, that definitely helped! Thanks much.

#223352

You must be logged in to reply to this topic.