Forums > MaxMSP

[Max5] dynamic poly~ output problems

May 27, 2008 | 2:12 pm

I have build a small patcher to try poly~’s dynamic loading.

As a first step I have tried to build a patcher without audio signal
and two possible subpatchers.

One subpatcher is loaded as default and everything is as expected.

1. However when loading another or the same subpatcher, the right
subpatcher is loaded but data do not go out from poly~ anymore (while
the number boxes inside show that the data go inside however).

2. Also, several times the number of outlets has changed (has gone up
to 6 outlets) althouht my subpatchers have only one outlet. However I
can’t make it happen anymore therefore cannot identify what led to this.

See patchers below
(Max 5.0.2/MacOS X 10.4.11 Intel Dual Core).

Roald Baudoux

Main patcher:

– Pasted Max Patch, click to expand. –

Save following as "poly_susbst.maxpat" and put in same folder as main
patcher.

– Pasted Max Patch, click to expand. –

Save following as "poly_add.maxpat" and put in same folder as main
patcher.

– Pasted Max Patch, click to expand. –

May 27, 2008 | 2:46 pm

well i’d go for building sub-patches with only 1 in and 1 out (or at least a standard n. of in and out for all subpatches) and then prepend and route messages, i’ll leave all uis and number out of poly (and change them dinamically in bpatchers as well when you change poly content) and send to poly content a bang after changing the subpatch if you need to send out values from inside


May 27, 2008 | 2:51 pm

then you can scale all values to something like 0. 1. so in/out comunication is a standard


May 27, 2008 | 2:58 pm

for in/out comunication and routing values don’t forget OSC!
:-)


May 27, 2008 | 3:14 pm


May 27, 2008 | 3:34 pm

well i can’t open your patch anynore since my demo expired :(


May 27, 2008 | 3:37 pm

i mean you could use a bang from outside in case you need to send out stored value in subpatch and in case loadbang doesn’t work when dinamically load a subpatch..but i admit i did not look at your patch


May 27, 2008 | 4:42 pm

On 27 mai 08, at 16:12, Roald Baudoux wrote:

> I have build a small patcher to try poly~’s dynamic loading.
>
> As a first step I have tried to build a patcher without audio signal
> and two possible subpatchers.
>
> One subpatcher is loaded as default and everything is as expected.
>
> 1. However when loading another or the same subpatcher, the right
> subpatcher is loaded but data do not go out from poly~ anymore
> (while the number boxes inside show that the data go inside however).

Hi Roald,

I can reproduce the issue. It only happens if you don’t have a signal
output.

> 2. Also, several times the number of outlets has changed (has gone
> up to 6 outlets) althouht my subpatchers have only one outlet.
> However I can’t make it happen anymore therefore cannot identify
> what led to this.

You need to have the same number of input/output in your poly~ in
order to dynamically load a new instance (the poly~ object is not
reinstantiated, just its contents).

Best,
ej


May 27, 2008 | 7:27 pm


Viewing 9 posts - 1 through 9 (of 9 total)