Thread: Linking knobs
View Single Post
Old 12-20-2017, 03:13 AM   #11
Tunca
Human being with feelings
 
Join Date: Apr 2016
Posts: 264
Default

Quote:
Originally Posted by Bobflip View Post
It sounds like it's reading the parameter as an int rather than float. Have you set up the control with anything like this?

GetParam(kParamL)->InitDouble("Parameter L", 0.5, 0.0, 1.0, 0.01, "");
Yes,i did like this.

Code:
  GetParam(kGainLL)->InitDouble("GainLL", 0., -18., 18., 0.01, "%");
  GetParam(kGainLL)->SetShape(1.);
  
  GetParam(kGainLR)->InitDouble("GainLR", 0., -18., 18., 0.01, "%");
  GetParam(kGainLR)->SetShape(1.);
Tunca is offline   Reply With Quote