param in gen subpatcher dont receive anything

Feb 21, 2013 at 3:54pm

param in gen subpatcher dont receive anything

My Main Gen~ receive all param´s.
The named Subpatchers in there receive non of them?

Should this be? What is the workaround? I dont want to make 16inlets in the subpatcher only for let ín params from outside!?

Anybody use subpatchers?

#66645
Feb 21, 2013 at 8:30pm

I think I ran into this as well. Nesting param operators in Gen doesn’t seem to be supported.

#239883
Feb 21, 2013 at 9:12pm

You would use the setparam operator in a case like that

– Pasted Max Patch, click to expand. –
#239884
Feb 21, 2013 at 10:47pm

Damn, I wish I had found that last semester. That should allow me to make some Gen patches considerably less messy.

Thanks GT!

#239885
Feb 21, 2013 at 11:11pm

Here’s a commented version of what Gregory posted. I’m very OCD about documenting how things work and this is an example of the kind of basic help patchers I wish existed for Gen to help us mortals get our heads around simple patching operations like this in Gen.

– Pasted Max Patch, click to expand. –
#239886
Feb 22, 2013 at 12:49pm

THX!

Not that nice that I wished, but a way better workaround then using inputs instead.

Ahhh this is how to use setparam, I was´nt clear about how it should work.

I have deleted one line in your doc-help-patcher, since it wasnt necessery…

– Pasted Max Patch, click to expand. –

`

#239887
Mar 11, 2013 at 4:10pm

When I see the word ‘function’ I’m led to believe different instances of the same object can receive different parameter values. Is there a way to have multiple copies of an identical gen subpatch, each of which receive different params from the parent gen patch? Or, does one edit each one to have different params internally?

#239888
Mar 11, 2013 at 4:12pm

That is not to say I am not delighted with being able to make subpatches in gen. Great improvement already )

#239889
Mar 11, 2013 at 7:37pm

Each subpatcher has its own instances of parameters. You use setparam to manipulate them independently.

– Pasted Max Patch, click to expand. –
#239890
Mar 18, 2013 at 12:11pm

Hmm. Is there a way to make unique parameter names based on the name of the function container?

#239891

You must be logged in to reply to this topic.