Draggable Filter / Parametric EQ Node to control Slider
-
@DanH definitely a broadcaster that you attach to the module parameter of the EQ.
-
@Christoph-Hart awesome, about time I learn't something new!
-
So @oskarsh very kindly made me a snippet to get this going. However, we've encountered a limitation.
HiseSnippet 1616.3ocuX0rbaTDDdWauAzxeIUQw4AUoJKSLJRIl.ULoPVxRAUD6Ha4j.mhGs6rRS4UyHu6r1QIwT4HG4FEbhWCtkhWANxEdD3Mvz89+5HabbAYK6Td5t+5o+a6t2zySZw78kdZ5k1Y5Dll96ZzepPMp0HJWn0ccM8ELX6q0b5DpuOyVSWe96hbzKsfV3ye+UMotTgEKijl1CkbK183i4pLp8Z7MbW2NTa1N7w4jdkFcsjhVRWY.XEyaTSaB0ZO5P1lTTr4LzzuTaatR50WQULevhZJsm1ej7PQj7Oj6yG3xvC005CJJhbGoqMZwHUsVi3t18R7VeMPK8x784i78OzXCtMOkdVL3xgLHYHxGOzmqn4MeAyqddyqVNyaFljdNSZgHS5JF8s73STYbP64cL5JTLOGJD1yaJQxpM2ctjQKIHgPUcLcOVGO3PJhJ2pVskIv+rzpllPn2WQNf5Q5Q8f.txiue6spStCIrLn5PlpsiCyRUobl.DPhx.5LvcbkTEWLbGtKCAmb6.7VxwSjB3PkxEjpnBb7X6umPN3TwlHPQXmMlY.XHjROSLIBfvL8XCI7D3MWay06+30139OXyc.30A9W+5jVdLHsSnjAdRpsE0GhxUIccHSkADNdC1DkjPUJp0HBWEdfXkbgKijDLlsOQcnjLIJFy77IUfa8.lfCB4NkH.x1jcSwsKgBJdW1A3euTNGjs+inJqQLOvDaKFxErpVglXyL6qxyJmpnx2tXleYR4PkBzCD1LGPA1GsTjutyHFj5Ib+DyoPBcWhbvAbYfu6zpUqZlZHUi78cjoQ4M.gXswaw+jEEv0ulqKoE00c.zFvGH7rvqOm5rsuGGbCA3Hk2lAEF9i5DHrTbo.weHJGDGHJPikW1IlUkbw7PObIymYRfGtSkvyUs8nCIO+4QbqZ4xs1iYuTnLQRhOPUiuzkUchG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qmDBPl0SX9F4NFSs7jO1JZ.HlUe6PJfeKB+D7RFafmI0SF6YXTqZM7ka9isrv5qOEFsOaL23Bf4lW.LqbAv7YW.L25Bf4yu.X9hyDC9+FwZAJ43n9M.gdsil1pmqRW6e.z8MFLH
Dragging the points around the EQ panel will send a signal through the broadcaster using
if(event.drag || event.clicked)
But - Because there does't seem to be something like a:
event.scroll
for the mouse's scrolling control the Q value will not broadcast when scrolling - because there's no event for scrolling.
@Christoph-Hart have we missed something and if not can this be added to the events please?
-
-
@ulrik that works actually, seems to cover all the bases in one, well done!
Imagine event.scroll would still be a useful addition, however!
Thanks for the help :)
-
@DanH said in Draggable Filter / Parametric EQ Node to control Slider:
Imagine event.scroll would still be a useful addition, however!
Yes it would be useful, agreed!
-
I've implemented this approach. When the mouse hovers, the parameters of the dedicated band are shown. The band numbers are fixed here by the way.
HiseSnippet 3445.3oc2b07aaibEmJ1rMR6GHYQvhdqCDVfJuwwqn9zYcWrxeHk0swIVQNe.XDDSSNRZpoHUHobr2rAX6ssmJJ5gdcu1Ks8TO0VDfdtXWf8TO0EnG5gBzt+CTz9dCIkFJIKSZmZq0BAwjuYdu426MyuYdC0PsoskF0wwxVJQxsNrKUJwqK23PS21q1VkYJs9ZRI9txUe5sWtlzJG1U0wgpKkHwL2BKLQxYk3e9lObEUCUSM5.QRROvhoQuMqCycfzMq7iYFF0T0oaw5HT6BUVWyxbUKCqd.PlQNqTWUs8TaQuiJVsKIKk36TUm4ZY2vU0k5HkX1UrzOrQaqmY5U+GvbX6ZPwaTjZ.FxSbMKCcDwnToUayLz2LvgcjjRHu4.2eFO2+ZxavzY8kOHLbEdAjAZHFORbovvalPvSQDdYEf2XfTBAHMqGjtpbCMaVW2Akf340jW2zkZ2TEB6hPwqtRWp10jW0Bpgo6BcT2iVyFtouFYVLa14IEylctkRkJED6cbIl85b2l2wRm5P9.xhK4KceUaR05fD9nhEZQcq1rIUyMS5p0SKnspss5gT8mropI0.p91OdIB7IUSKaRFFHH6RDF4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yxgpodVwuxeTfh34iCEjS7XugBxG90A2TuvvBJJdzIPAkDOAZnfxh7PTvhCaiaJdH+3.Kq3gqhKQQ7TdwkjS7zawkLBZUJHdXT3RJJdFl3RJIdXp3RJKdHo3RFAxJ2bXKmKq3QEhKQQ7LKwkjS7rHwkLBlyMBlyUT7D4vkTR7nAwkTV7H+vkLBlyMBlymc3du7Jhm.GtjbCam7if47EDOyhbIEGdvV9RhqWvkTdD6LBlyKN1PpVss7O+wHqOwLQlgoLYB98r5gmVkMTcsY3Zy.+oAjEfFE32lvTobZzkvixp28Yw6Q.0fxoUxI9uvG+BUv6S3WnRPghSh7ldj3WStAyjxeC74z32leO4gp6SI2BeiQvo.UlvuPCeYT+EZnaj+EZ3tZtPyukspoSWKmPFtAsCaKXIlPoPceGJl3v8v4jEkupkp8XK5a9vZfSNVcZn51ylO49xcr5Y5FZx7YlzuTDJmveoHlcp6WJhuErjcn0iRFfwFrNcMnUM2mZXARPL9Vxq4kLUfzvik2vxzpaaKSllXG88n.GrUKpsH1GqCsL9pbsm3Ar7dTCpp3f12oB9hHpZCwI5ILVnD6eXOFa+02S1CtDj.R91apVybgNUqyjEBNKZiNpZ1VOQy6HghiSuLWB32l7e6cRJuAdOo+o2WVN6BYkfMYvdhlFFhuALg430I2IPm7m.cJbBzo3IPmRm.cJeBzYwIpCt3xx8bs53Q4.AaV06rmlXPJOyH8+.WGnaLC
-
@orange very nice! Great that the panels switch between nodes. If you change to event.hover your Q value will update as well :)
-
@DanH Also, new nodes cannot be added so band numbers are fixed
-
@orange Would it be possible to use buttons instead of combobox for EQ type of each node and it gets updated when the type is changed from the UI type menu and show the changes on the button just like how the combobox works, I tried working on it but I haven't made progress on it.
-
@Onik-Sisodiya show us what you've got so far... Sounds possible
-
@orange using this code at the moment, thanks for sharing :)
Is there a way to get the node number of the clicked node out of the broadcaster? So we can treat each node individually?