An Enhanced Knob for Y'all
-
Here's the button's brother, an enhanced knob. It's a drop-in replacement for standard HISE knob, with additional customisation options. It has an auto-centre feature, whereby if you set the minimum to a negative value, and maximum to a positive value, the knob automatically re-draws itself with a centred middle-weighting. (No need to re-compile.) All code is commented for beginners.
HiseSnippet 2156.3ocsXstaaibElxIrXsZ6hcK5Cv.8iMTwxJjR1Nxvc6ZcM10JVBVpYyBCCiQjCklZRNBjihsZ1.zWi8e8cn+p+aehJ5aP6YFdWWRML5JEEXdlyku4vu4blYF5yLIAALekB6Nd4bhRgei5nkd7YsmgodJm2QovuVcLwcN5BO1DkVKmiCBHVJEJ7r2HTnvtOWQ94e+csvNXOSRpHEk2wnlj9TWJOU5vSuf53zCaQFScyn8AmdtIyqMygs..yyT0UliMuCOkbIVn1NpJE9Ucsnbl+HNlSBTJ77VLqkilwt2KT+2QCnSbHhGLTFANJTbOlik.wBoJsmQcrFFOoCT.uLLME7rvTvuW8sTKZh7zTwWIG.kZQ17QgcxCumkCdFYgmdF3sAHUHCjddHj9Z0Ql9z47zQBe0btGm3aigzdVnDpqxN+quTsMCzviW0EeGomO7PhEZ000qfLz0KeRwhc8lR8HUcXXqdfRMCzJ8wgWM3O0s83a6MnemtW8I1CKmR7p5SltvA6WkysKUA8hARoWEJ7Efqd7dZB7hIuaZARD9nHvDB3nQiad032i9Vj9IYk7CfDiXIe+4cFeFHnVrfy5d9aNaLHodheZO3xQiuczB4z9M9XKJjQFylK77C85oK+bxmS4VLNm4Fo+AMNn0g0xqeKluEwOj8Fo1w0guGmWsNz.LvArN2yhZhAxRFKrsODe3jCM2rEQ.JWDLN1.aXsY8as.Pr2XxC77f5.3Kd0LiK1wIz.wqrQz+JQjhgoXwhuZsOnKtbPKT+ACt.07xNndc61GstVBKQs8IvZADF4vX2gvdVHaBwAYuvyjSYdUiPQ+l8tEV03Yg8sDkYffGSaMkdnOyD6zG7QSOqdfGzDbDv+.siF.zYoqsH1.wCwmQPV936odSSBDxl4KG3Nv6UKtZ7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S9JAghXcEwDnIScHZaK1oUpxMxKQ6CrVishrsZld0ZGe3lMSNpd8Ja0R85vpo5vb4Sg63by6EtS218adUywmO3xssS3NoaNE1JqyD3ns42c58yfFsY4fwruvsHKVhdm2jyvymuLS8+ohW.tyYdDQ65XEJEs83lAAPKQoWyuAbNKSekXqDuMWai1qtUYgmSvMy6RFmLvSStK3h.gb0grs23XB36ybbH9abXwEC3+4LTyag6DhekPxdhhvokyeDb0seD7r2PfYX1LihLuy8n7AyIda6dCThdEHNtdDp.U4xCq+kQGVO7nCJT3L4EUiSyJRLGcuGn5+id+rxe97NXNN1SfSg.Mm3yoh4PgNjOPMIgWCvtpcHA2wYyk5F8hWovu6wD2GRtqkSe+oKSu3kpmJV0pT3KTeGyYgKQwM6857C+LzFL6c53xrh.hIE1GjBbto4hSLFoye+m9o+424RsrbHCYATw6srVGtuM3EkpUKEZvPmEvl9Fh8wtD37WgI6zs8KtMpCp0n9wFG1ngtRbaiHwGU2v30GoqjVzIbfi0azngQc8LNpVjI55G2nd8iTtWzEMEW2b5L4osRj725epx5WByWo9VlErSXd96DRbQXQCHlsYuHFwks3AYgkYunr+ucQQOVH90pCobyYaFi6rALBTweIvXz0q8aU6ZaCsARA3yU689eYtKMEnsCGZl+VLbbBf2od4B2Q.gvjH1bfGwQTknvNh0ygOqKdVjAFAsIkO7efOQCZHdtPzfFwCp3hM8Y2ZFVEPbAdegTBfIO4cWtq5aEOiLhW6qpBsVf0YVzaMMES+8gRLa1lZOAap+Dr4fmfMG9Dr4nmfMu9IXSiOqMhqws4BNyMb4.HXXWYM3BE55Iu+LAKT4+B7H1SiM
Linear
Centered
Sample Usage
-
@clevername27 Nice. This and the buttons might be a good candidate for the LAF repo that @orange is managing...
-
@Christoph-Hart Yes, these have been just added to the collection.
@clevername27 Thank you!
https://github.com/christoph-hart/hise_laf_library/blob/main/Examples.md