G4P - GKnob issue, or my fault?
in
Contributed Library Questions
•
10 months ago
Hi trying to use a knob here to set an integer value between let's say 0 and 50.
added a Label below the knob to print the value, but it seem that does something wrong while converting, because the label prints a value between 0 and 1. if i set the type of value for the knob to DECIMAL (0.0-50.0) the label prints 0.0 to 1.0.
If i do "print (myKnob.getValueI())" it returns the right value (0-50)
Is it my fault?
Thanks, Davide.
added a Label below the knob to print the value, but it seem that does something wrong while converting, because the label prints a value between 0 and 1. if i set the type of value for the knob to DECIMAL (0.0-50.0) the label prints 0.0 to 1.0.
If i do "print (myKnob.getValueI())" it returns the right value (0-50)
Is it my fault?
Thanks, Davide.
1