< Back to IRCAM Forum

Nested condition in expression controller

Hi Robert!

I am developing an instrument that requires a nested condition inside an expression controller.

So far I am only able to achieve it in a very simple case. The true case of my instrument crashes Modalys.

I have attached 2 patches:

  1. “Nested-conditions” shows that such a construct is possible within the expression controller
  2. “Chuas-Oscillator-v1” shows the full instrument and how the same nested if construct crashes Modalys.

I have done extensive debugging on the expression of second instrument, so I am sure the error appears with the nested condition. The remaining expression should be good. I am unable to identify any syntactical error …

Can you help nailing this one?

All the best Hans Peter

Chuas-Oscillator-v1.maxpat (53.8 KB)