Forums > Gen

param in gen subpatcher dont receive anything

February 21, 2013 | 3:54 pm

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?


February 21, 2013 | 8:30 pm

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


February 21, 2013 | 9:12 pm

You would use the setparam operator in a case like that

– Pasted Max Patch, click to expand. –

February 21, 2013 | 10:47 pm

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

Thanks GT!


February 21, 2013 | 11:11 pm

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. –

February 22, 2013 | 12:49 pm

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. –

`


March 11, 2013 | 4:10 pm

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?


March 11, 2013 | 4:12 pm

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


March 11, 2013 | 7:37 pm

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

– Pasted Max Patch, click to expand. –

March 18, 2013 | 12:11 pm

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


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