mverb icon indicating copy to clipboard operation
mverb copied to clipboard

GetParameter and SetParameter value scaling differences

Open intonarumori opened this issue 3 years ago • 1 comments

I noticed that getParameter and setParameter use different value scaling.

For example if I set the value of 0.5f for mix and then query the value again I get 50 back. Basically every internal parameter is multiplied by 100 when queried with getParameter, is there any specific reason for the discrepancies in values?

Thanks.

intonarumori avatar Oct 16 '21 22:10 intonarumori

Thanks for the message. No, there’s no specific reason and it’s just something that was unintentionally left in the code from a previous use case when I open sourced it.

On 16 Oct 2021, at 23:43, rmri @.***> wrote:

 I noticed that getParameter and setParameter use different value scaling.

For example if I set the value of 0.5f for mix and then query the value again I get 50 back. Basically every internal parameter is multiplied by 100 when queried with getParameter, is there any specific reason for the discrepancies in values?

Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

martineastwood avatar Oct 17 '21 11:10 martineastwood