Processor // Parameter-Change

SDK for VST 3 audio plug-in and host development.
Post Reply
SquarePushed
Posts: 15
Joined: Mon May 11, 2020 7:12 pm

Processor // Parameter-Change

Post 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?

SquarePushed
Posts: 15
Joined: Mon May 11, 2020 7:12 pm

Re: Processor // Parameter-Change

Post 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.

User avatar
ygrabit
Posts: 172
Joined: Fri Jun 17, 2016 7:52 am
Location: Hamburg
Contact:

Re: Processor // Parameter-Change

Post 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...
YVan Grabit

SquarePushed
Posts: 15
Joined: Mon May 11, 2020 7:12 pm

Re: Processor // Parameter-Change

Post by SquarePushed »

Very helpful, Thank you!!!

Post Reply