Page 1 of 1

Posted: 22 Oct 2011, 12:26
by GDLive
Hello,

I've been experiencing troubles with my patch.

I wanted to use a value from a data out of a subpatch. This subpatch is polyphonic, I have a treatment being done x times. I want to reply one value peeked inside this treatment as a data out. Since I need only one value and this value is the same from each treatment, I wanted to set my data out as "Once", which is possible.

But even if this value peeked in the output of the subpatch looks ok, I can't success tu use it !

As an exemple, you could see with this example that I can't use this value to set the interval of a clock.pat for exemple :

http://www.sensomusic.com/forums/uploads.php?file=ClockPb.zip

I understand that using a data out "once" in a polyphonic subpatch is not a good practice if it is linked with a value which can have different values in each voice, I don't understand why it's problematic merging x identical values into one.

Should data out set as once be avoid in polyphonic subpatch ? => in this case, It would be a great thing to cancel this possibility for the data out.

What do you think about that ?:rolleyes:

Posted: 22 Oct 2011, 17:10
by nay-seven
maybe i don't understand the problem, but here a patch of a clock, poly = 12 , works fine..?
download

Posted: 22 Oct 2011, 17:37
by GDLive
Ok, its not really what I tried to explain... the clock should not be poly, but the interval parameter should result from a poly sub-patch in witch there is one "data out" - set "as once", being wired from somewhere in the calculated poly subpatch part => x data -> only one data out

It's a big patch, I've to simplify a lot to post an example..

Edit : precision on the explanation

Posted: 22 Oct 2011, 18:44
by woodslanding
I had a similar problem: I had multiple data inputs to a single object, where all of the inputs but one were null, but instead of getting a summed output with one value, I got what looked like an array, and no useful output.

I ended up using multiple outs, and cabling them all to a single 'event through' outside the patch. Don't know if that would work in your case.

Posted: 22 Oct 2011, 19:24
by GDLive
Thanks woodslanding, I did with a similar technique, going back to a collection of outputs which aren't used at all...
I wonder if someone succeed using this particular use of output in polyphonic sub patch !!

Posted: 29 Oct 2011, 10:46
by GDLive
staying confused :rolleyes:

Could someone explain what we should get using data out connected with to a value depending of the voice (or not) in multiphonic subpatch ?

Posted: 29 Oct 2011, 10:57
by nay-seven
what about connect an array or extract array module to the outlet of your sub-patch..?

Posted: 29 Oct 2011, 14:45
by GDLive
Ah, ok, I'll have a look, thanks for the idea

Posted: 31 Oct 2011, 17:01
by GDLive
In fact, it's seem's to be impossible to get automatically a single value from a polyphonic sub patch data out in order to do a "once" treatment inside of this polyphonic sub patch.

I write what I understood if someone is being confused for the same context.
In multiphony, the data out is systematically an array (which dimension = multiphony).
To use the single value (even inside the subpatch, to calculate someting once, for example), I solve my pb extracting the first value of the array given by the data out, in the parent patch, and calculating what I want in this parent patch, before entering the subpatch again.
:cool: