Page 1 of 1

Processor // Parameter-Change

Posted: Sun May 17, 2020 5:45 pm
by SquarePushed
Hi,

According to my Debugging-results I assume that the process-member of the processor-class will only get normalized parameter-values that were changed. Is this correct?

That would imply: In the GUI I see the plain value that is then normalized via Parameter-class-members, and this normalized value is transmitted via the host to the processor-instance, where I potentially need the plain value again, hence: plain -> normalized -> plain (for processing).

Is this also correct?

Re: Processor // Parameter-Change

Posted: Sun May 17, 2020 6:13 pm
by SquarePushed
Basically, this also leads to the question whether I should convert between plain and normalized values within the controller or whether I simply use the Parameter::fromString and Parameter::toString methods and stick to normalized values in the controller environment.

Re: Processor // Parameter-Change

Posted: Mon May 18, 2020 6:33 am
by ygrabit
Hi
how you do your conversion Plain -> Normalized or Normalized to Plain, it is up to you. The important thing is that you communicate to the host (performEdit) only normalized values [0, 1].... The host will send to processor only Normalized values...

Re: Processor // Parameter-Change

Posted: Mon May 18, 2020 10:59 am
by SquarePushed
Very helpful, Thank you!!!