a scalar knob for pd with following features:
- value inlet and outlet
- set parameters on the fly:
- color theme
- mouse sensitivity
- background visisbility
- value range (min, max, exponent for nonlinear course of values)
- reset value
- reset on doubleclick
- save state with patch (via connected numberbox2)
here's a simple example how to use with default settings:
and here the zip file:
this knob abstraction is based on a patch, i found here in the forum - for some reason i can't find the thread anymore.... i believe it was a patch by @Balwyn, but not 100% sure - could you confirm?
in this knob abstraction, i use a numberbox2 instead of a slider, which is not part of the abstraction itself for two reasons: the numberbox2 can be used to save the state of the knob and reinitialize by loadbang and it avoids graphical issues, if it's not incorporated within the abstraction. the numberbox2 receives parameter adjustments by the abstraction (like size, range (for mouse response), and init option). you can set the color theme, the output range (with exponent for nonlinear values), a reset value (to reset on doubleclick), the size and the mouse response. have a look at the help patch included in the zip file for further informations.