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uZtLc6UtikKOOOOeesUDer7b7sfGJkRfnGh.axESEdq+9he8I4WRuevbKo2u+0hHsyQDvg4Hxje55RDvONGQl7BKvUeAVzG.yM1Cwmu4.YGQoNDUCl6UX4KszHBeb9NltQ5XXco6cgCHbmQEy2REvWwA+aZ9l1+UM3dCGhc3YjsLr6Kt4a1BbHKlSnm1GwCIhy.vCh8sEsi5fELgRwdxJ1ZkjE0RFaJGKUFaL0UM3+DeoNaJGqk5r4Tm.ejSH6kNIErjc3cakEAmnpFcqH53VLVeVsTHzbaSfunwyW53HkhuTv8hwzZCvzdCv7fM.yC2.LOZCv7Ua.ludoXj87+swblex0DggA6odIPSaOJRbJSchD7+PZaioQ
    


  • @Lindon Hmm... Yes... You're right...

    but

    HiseSnippet 1147.3oc6W8zaiSDEebZF5FCYgUhKbAYkSNRKQ4OsKHsZ0ZZZCDkscCMkpthCKSsmjLT6YL1SVZ1UqnGfuGHw2.NwIHZ+RvYNxAj3aPYF+mX6H2jzHwMbkpxLu2u26meu27di66wLw99LOfRoSl5hAJuCbvTJeb6wHBEzcefxcgGh74XOsvs1apKx2GaATT15yjanTpHH34ed7dHaD0DmrE.bJiXheBwgvS1suQOhscGjE9DhSJs2wnqIi1lYylH3yVv5.Wj4EnQ3iPR0J.AJu0AVDNya.Gww9.kh6wrlNXL66ng5eJwmbtMVtnAXfvPga2gYaIYrbWP6wDaq9wu29.gU5mDE1JLJ79vCIVj46mDMdu.AZIHRGOTJrL50X0zqddzqPJ5ULjd2CNvzi3xSjH41aC6REIpgHQJHMsB0ETfsErMSnAkWyAcAtimXwbD5Ond86qsa85UeXYUUQdvmq8BjmVl3f1izBpNpMByyHPuRlkUp9P0xoLROJ67FBvwtW.uMywkQEKzqDHshzuYQzboHZlChVKEQq.Dw+Qn1DJVa3DpImvnZL5dS3bFsgz.dLacyXz2WXe6I3pkUeUYUsnGgV9LabMWOhv9AuBRWpWwgPqTU5naVylgwO5oRypuVJitLGkCdop4mxVqv5g.LGinivV5hjTrf4+HSZrlbkDyp8wpLPhOkw9WG7+7yTQYgJUkNMJWzFYaetnWf9hIIo4RkAOhwwOkpWU8UpkTesp1hhFNLWYQFyF6kqXYWJukATmNw4brWbcRrhhiqY6G.Wu9AlgwkTJxncoD9ScwzapIFHJXJamEwJgp7ftE2Mpaw.ahE1CPDME1FFTwBBHbTG3qdytslAtIvgw8.vkfQIgLvCl.j.GtBe2bAvy90eySVhbX7HkY89ve7CLB2CcY3d8+qq+9dFquSZsnSdyZ3jy96q+8yL.eY28QbjHdpDEZEgaWrGmHyjJ6iegXvVX23Rv8w9WvYtAw9nBYwrpUF8ubNwL5aLMIN9DCmTCVMFLyAknJniL.L2KEWizzM3me5qyXo6rxLVJ67Eo462X3ymJqi2FdrLTBD2Wvc.4kwAdi+7k+viS+JcU+LuRW06VQjVoHB33TDY12daIB3YYHxLQdecm19tYuhPdSbU9k4CbE8x9bLYzXtdC4H1+umU1dVJqwQZUX7zjE66..oOU69H0+3mmcxrrmpixtazoZkTEmauN7KU84Wk9fxNKVetPw2Bkl4TKJt+IyZhMhm8RoxahGIPjkyTKJugG0mvmltO8s3lp0W6KRutz8dv9Dt4374agb3q7Rv+Gy2n68WFdvvgXSdBYKB6b1ldI+aAUNlMgSniNDw8HhRB3QSbFH9LHSrfITJ1VdRTof7LS355x0xHy.L0JXw0hmHgMjqUhD1HVnnXyzi8byvSZxur3NA6H3DM3CrJI9ROwZs4y0gv50pCbDU0O2zTFJ9HA2yGSyM.SqM.yNa.lc2.LOXCv7wa.lOYoXjMT9zIblS3wDwF8OHn+khxATjnJKnhD7uMm2RNB
    


  • @UrsBollhalder said in Range slider communication:

    HiseSnippet 1147.3oc6W8zaiSDEebZF5FCYgUhKbAYkSNRKQ4OsKHsZ0ZZZCDkscCMkpthCKSsmjLT6YL1SVZ1UqnGfuGHw2.NwIHZ+RvYNxAj3aPYF+mX6H2jzHwMbkpxLu2u26meu27di66wLw99LOfRoSl5hAJuCbvTJeb6wHBEzcefxcgGh74XOsvs1apKx2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8s3lp0W6KRutz8dv9Dt4374agb3q7Rv+Gy2n68WFdvvgXSdBYKB6b1ldI+aAUNlMgSniNDw8HhRB3QSbFH9LHSrfITJ1VdRTof7LS355x0xHy.L0JXw0hmHgMjqUhD1HVnnXyzi8byvSZxur3NA6H3DM3CrJI9ROwZs4y0gv50pCbDU0O2zTFJ9HA2yGSyM.SqM.yNa.lc2.LOXCv7wa.lOYoXjMT9zIblS3wDwF8OHn+khxATjnJKnhD7uMm2RNB

    so immediately:

    Line 20, column 43: Unknown function 'setMinValue' {SW50ZXJmYWNlfHw1Nzl8MjB8NDM=}



  • @Lindon You're right... Why didn't I see that... 🤔
    Now, how would you pass that value over to the midi processor? Trying to avoid global variables here, but maybe that's the way to go!

    But then again... Why can't I just hook it up in the property editor since the 2 range sliders are dealing with exactly the same range etc.??? With a "normal" knob or slider it works just fine!



  • @UrsBollhalder
    like this:

    HiseSnippet 1220.3oc0W87aaaCElxwboVctqEn2mP1EEfr.43l1ADLTk3DuFjlTu3tfzSsLRzwbQlzShtqNEEHG1Ns+I1gcd.6VOM30+RZOsqCXXm2H0OobscTL1NL4KluG+d7iOR98Ha4ybvAALefVkGOrOFn8gv1Co7tM5hHTvtaCztAbeT.G6aDYZqg8QAAXWfl1BegzfVkxfvu+39ag7PTGblI.3HFwA+PROBOyZK68HddMQt3GS5oz66XuqCi1f4wFH3yBPKPejyYnSwGfjcqDDn8A63R3L+1bDGG.zJuEycX6trukF0+iHAjS7vxF0.sEAJxbSlmqjwRqfFcIdtsRl2A.QTZkkEVHJKba39DWRp8rrwMCcXjgPMenUZVzq1kSOqIQuRJzqbD8tErsiOoOOyijaWGtKUrP0AIVBToUTeAk9sRvFLQOn7U6gNC2zWzHEg4csrVwXcKqk2npttXcHfa7bjuQt7fwmaDt6X0Sw7bNLWJWykVdC8pJAYOJ6jZBvICu.dCVu9Lpng4RgdWRNt4Qr1LQr1DPTelHpGhH4Gg5QnXiNCnNbBiZvngQUB2m4Y5jfcEQz8FfWtp9KqpWwP7EFqUCjo.5QReYcNJwDacY4vYD+EAxoKhdJ10TjeRbj9mbYPY32jy8ImLfiMqsxTGgT3U0eU3ralYLYXimgMPddmHNeYlehK4rRN4.FG+Hp4x5uTuh9qzMF2UmNSzWbv7v9Szs7bu+r.ZRGz6DreRtOoihC.4OgAK1ILmnbhRGYzcoD9i5ioSSV.DmHkBDwrRzUd34uaDe9qsGwE6CHhiYKBC2FCBIbrl1EuY85i.SC7VC3bFMDbEXTi7vi9RgCujwdsw.O50+pub219Ihzk+ju+G1YTjMzKhr85Ot9etkcwGj5iOHuo.Cxa+o+xbeavWs61HNRjO0hSshzcerOmHWI01F+bQohH8sJvswAmwY8Cy8wahEp+WZ1+EoDytk8vr73Cs6oTpxt8ndnrtBZJS.oiR4BrLMkw4GeVtHcsKcESINeoJe+Z6.9P493EgGJSk.QE39sImmj3se24e28UmRWzJ2T5h8tRDotBQ.GpPjQeyUkHfmjiHiN1FTz5WeT9htSrF1unkVCSHk8.L4ztbyZQUspNVYK4LapEDR5PZMg2udfXOcaLWTe7RpIjDpbkDh5vFptyD+msVc53NM85wI1+uzr0+2RyNYllXwBjNAUMkMuTsFNclP2xLMyRBkJfhoNLYo+8k0yKZBLFWz7Au67a+y+dSaPAJ8bcX5FhbCTXPmOU2RJhGKVjInh9wlpBYqOt9wXhCiIc.JjZu5DNKZuEmefUC8niyq3+jIoJItaOycfGhm+B+xW4D6PreOmpj71yz.Ben5qftBuBvpvORonz8VvVDtS2Iy2RSfux8x+Gy232TUEtSmNXGdFYKCad779.pq.UNjMfSnmtORbcZwd.3AC50V7DSGrfITJ1SdORsRxi2QssjskYl1XpaXi+V7E6rlrsVryZINEaqc7YO0I5vp7UaWKzhfSzvGuVQ7JZQaiza3AgVqZA5IN+7TGGYp3SEbexXVaNvTeNvbm4.y5yAl6NGXt2bf4ylIFoz0lC3rdQGSDFZsSnRol1NTjXWV3NRv+zfkvNN
    


  • @Lindon Hmm. Interesting... Thanks for this... How do you know about the number 1 for the attribute??



  • @UrsBollhalder all the widgets are numbered - starting at zero - so its the second widget in the list so its number is 1.





  • @UrsBollhalder - using the numbers is less maintainable - because if you re-order the widgets in your interface then their ordinal number changes... and you have to go change your code...but its quick.



  • @Lindon Yeah. With the hardcoded modules I already do but I hadn't really thought about the numbering scheme and the application for my own modules! Saves quite some time over the years I suppose!


Log in to reply
 

18
Online

1.6k
Users

4.6k
Topics

42.7k
Posts