< Back to IRCAM Forum

Evaluating multile items

Dear all good morning!

Is it possible by evaluating an item to have a second items evaluated on the same moment?
An hypothetic example:

I know that I can connect the lmidic output of the left chord object to the left input of the om+ object or to select both chord editors and evaluate them both on the same moment… Just for demonstration purpuses, is there a way by evaluating the right chord editor see the new data in the left one?

Many greetings,

Dimitris

Dear Dimitris,

Yes you can just list the two last ends of the evaluation tree (the two chord-seqs) like that:

But you need also to put om* in eval-once mode, since it will be evaluated twice, and if so, you will have two different sets of values.

Here is the patch:
Patch 2.omp (8.1 KB)

Best
K

Hello,

Here’s another option using sequence.

From the documentation: “Evaluates sequentially a series of values, functions or subpatches. Accepts many optional inputs as needed. The different outputs correspond to each of the inputs. To get the result of the nth item connected to the sequence box after the sequential evaluation, evaluate or connect the nth output (all the inputs will be evaluated anyway).”

hope it helps!

best
rc

Thanl you so much Karim!

Simple and efficient!

Dimitris

Thank you extremely much RC!

I didn’t know of the sequence object!

Great!

Dimitris