< Back to IRCAM Forum

Evaluate once in abstraction

OM 6.8. Is there a known issue with Evaluate-Once Mode not working within an abstraction? I have an issue with this in relation to the Sort object. Outside the abstraction, the same simple operation functions correctly. Thanks, PS

hello
can you test with 6.9 ?

same thing.

ok, can you attach a patch maybe ?
thank you

here are the patch, the abstraction, and the same patch without the abstraction.
it’s fairly simple. when it works correctly, it randomly inserts a transposed version of the original pitch list (in 32nd notes) into the original.
without the abstraction, it works, yet with the abstraction, it seems to ignore the evaluate-once function.

patch-w-abstraction.omp (39.9 KB)

hi

Sorry for me it works. But what do you mean by " functions correctly " ?
Since your patch is rather complicated. What do you want to do exactly ?

K

my guess is that there is an ambiguity about how an ‘eval-once’ box works.
it will evaluate only once within a patch, for instance if it is connected to several other boxes or a repeat-n, etc.

In your case (with abstraction), the patch itself has two outputs and is therefore evaluated twice.
So, eval-once applies in the scope of each one of the two evaluations, but it is reset in between.

=> you may want to set the whole abstraction as ‘eval-once’

hope this helps

That is interesting. I’ve set the abstraction to Evaluate-Once Mode also, and between the two (one inside, the other on the surface), it now functions correctly, and I can add back the other developing components of the patch.
Thanks for your responses.
Paul