IMAGE_PARAM_KNOB
Page is not ready
This article contains information from the official Blue Cat Audio KUIML reference that was not yet verified and edited.
Active element that displays an image depending on the value of the parameter. Its is as an animation or 'filmstrip' for which the image is chosen depending on the value of the parameter: if the parameter value is equal to its minimum the first image is displayed. If the parameter value is equal to its maximum, the last image is displayed. The control supports several keyboard shortcuts and mouse dragging. For more information, see User Experience.
Attributes brief detailed show all inherited
See Attributes Common to Param Controls.
Specific Attributes
Examples
-
Display a parameter knob without options, not changing its aspect on focus and mouse hover events:
The folder contains:
The result is:
-
The response curve for the knob can be changed thanks to the 'response_curve' attribute. If set to 'exp1' for example, keeping the exact same files as in previous example, we get:
Note that the position range for 0 to 50% is larger than the positions range from 50% to 100% : the conversion curve is an exponential function. You thus have more precision for the low values of the parameter.
-
Using the 'log1' value now for the 'response_curve' attribute, we obtain the inverse result: we have more precision for high values of the parameter:
-
If we darken the knob_black.bmp image and brighten two copies of it for focus, hover and pushed bitmaps (resp. knob_black_focus.bmp and knob_black_hover.bmp and knob_black_pushed.bmp), we obtain a knob which appears brighter when the mouse is over it or when it has keyboard focus without changing the skin file:
Note: in this case all knob images share the same mask file: knob_black_mask.bmp. There is no need to add a mask file for all images. See the Images section for more details.