This project has moved. For the latest updates, please go here.

Normalized parameter values

Feb 28, 2011 at 12:57 PM

There seems to be a problem with parameters where MinInteger != 0

I suspect the problem is the implementation of VstParameterNormalizationInfo.GetNormalizedValue:

public float GetNormalizedValue(float rawValue)
{
return (rawValue / ScaleFactor) + NullOffset;
}

should probably be

public float GetNormalizedValue(float rawValue)
{
 return (rawValue + NullOffset)/ ScaleFactor;
}

Mar 1, 2011 at 7:38 AM

Following the instructions on  http://vstnet.codeplex.com/wikipage?title=Building%20the%20Source%20Code I was able to build Jacobi.Vst.Framework with the modification I suggested in the first post.

My test host (Reaper) now behaves correctly in the default plugin UI, so maybe we can call it a bug?

Coordinator
Mar 1, 2011 at 5:37 PM

Yes, it appears to be a bug. 

I've just checked in the fix. Thanx for catching this one!