change text colour on hover and script button help



  • I'm playing around and trying to understand the page handling in the new tutorial project, can't seem to figure out how to change the colour of the text on hover?

    Also I'm trying to create a couple of buttons which have the same text, and then a third 'back' button as well. Bit confused as to how to integrate the third 'back' button, as I want the text that is displayed to be separate from the first two. I can get it working if it's just a normal button, just by hiding the panels, but when setting it up as a script panel button, to actually turn off the other buttons, it's confusing the bejeezus out of me.

    I've put a snippet below, I've just put the third panel button as text.

    HiseSnippet 1453.3ocsX0uSabDD+NfKM3DjZj5CvI+GUmUoFaBIoQnn5O.BjTHVARZkRQoquasuUrd2S2sFhUDR730Wk9e8MnclaOee3b1fUaVPFuyW6uclYmcV5EJcoQQxPCy0OaR.0v7gVmNQn765SXBii1Cna0erRIEQFclDPhhndFllq9Rjs45qYDO96etCgSDtzLRFFuWxbo+BaDSkQsWqWy37CHdzyXixI8NsNxUJ5J4xw.TV0pgQ.w8BxP5IDTrUrLLu29dLkL7TEQQiLLWqizaxo9xqDZ4eOKh0mSwIMMNELjl7ARtGhXjpQWeF2q2zsbjAXkdYNfU0Nfuy5XlGKkdli3aiYXmoQd+g4JKBdMyCuF2c3YlCdqog2irN0MjEnx3fX6AVGITzvADHDjGVZYMV4utuUWIHgPUeD4B5AgvjTMb1oQiMsgOps6FUve1WLjIn0inpWxk8I7C.ocp1NjQ3U0xHfvRDDhn18ffzgDgGmIFtQkOuQEaXvDvTp8fwBWESJrw0rSbVjCpYMsTIBiCtzkvsCreg8TXNjp5JGEHEvjXkr+A6pZaDigoZl8sf5dDEotu7RZHXnADdDc2ufsGDRJgad4f8cOHnqdqbrB1FNS2FNCqkIVNviiKIg18A69AvSB+p7YQ3V3WYdJemZYDNjxF5qbpc9tE0u3rgHFzmFbZ7oFIiZKTG1.m3EIyITqn.ZCO.N+AaLAj18VpqhHFxoN82ztY8YreAkWvRgNz+aqzs4Az+Ip9ULkeadfOImOQatYs2v5dgjqZyYCETuyneBxdkATQ0Msg0upKjRER8JjFccs4mL3Tkv4xq5Be1GpJEAloZWNC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jUEmAZ7ut6at+A
    


  • Can anyone help me out with this? I've put a snippet below that does what I want, but just with normal buttons. I'm trying to stay away from filmstrips, so really want to understand how it's done properly with panels. Would massively appreciate some help!

    HiseSnippet 1081.3ocsW0saaaCElx1Ln1KdXEXO.Z8Jaf9icVZ6B5JlWbRF71RpwbavtYnkVh1lHRjBRzIyXHuS6QauAaGJQIQaKaKi0nKLLO+wO9wC44vggBGZTjHDYU+8KBnHqCwiVvky5Oiv3nAmgr9J734RofGYGw7C7nnSWDPhhntHKqp+jxJq50Pwe+yObJwivcn4hPnqELG5ux7YxboC68KLOuKHtz2y7Mr93dCbD79BOwb.QUwcPADmaHSoWQTlUAirN3bWlTDNRRjzHjUsSEtKFMSbGOw9qYQrw.HgAcQif.kH9BgmqBwJon9yXdtCSW4QHHJCy4gpI7vWiuj4xxjaxGJE14dXxGVU1F75ZBuNkGdVFvqVB7dLdjSHKPlqQgsu.OfKogSHNKuMkXKpB9.beAXAW9bexMzKBgAYdz53NcdpM7S62zrQCXeHRZeKIzVvoCgs.62Zm56TpruvO.TvksdhV+STtk6k7NwV8RqeEu.kmFmsssYKwh0muc3YlEq34XHEaGtlaRruMa7hWnfpcxICk.F2iABlLm6HYPjD7LfpBYnvqkSZ7dJLsdyosa13uZXCeJPbGL2Ydnl8qUlzp8aZvlX2Bz9V6tsis1NwI0ml4edDjfkNKxPHx.FSsQyyKYyDhWzpFom4nzY9YcMMHm.V1hDCtuYi6Ai24FlxWMF5S77TAs05DUFCCnZqLbFpKMCmuNKICWD6sJCWztvZLb9d6meF1HwtXFdUhJigU52JEmipRywFKj+GjbQD3mAVdCI5kfjMuBnXVdMtRMwFb4UBI8c7VsA9pdi6WSyjIEoRGJOZXQZUUOC2has3y8GSCS2pz1AEQVtJEdyUoLKh5jPLFFJ3C3L46Bn7MU6BoYSnJVUMnf+Iiqg8k5ZXIjFh4pJfksEhhwLzavA+q9CUp.jsEmEfrtSJS.NDmuOV.D9vfyHRhplrdgAK1.Znjo3Qqyn2BM6jTgtN9LZzMRQ.zyRVdDHNYlalV+lvodwS7ivw+uK5OM6dZg4f6XtxY4BVzaFkMclzTx3oocOcH93iN43Sd0qO5jWhXRp+NTbzJZPFfFuIPWGqOWZf5dA8LP8O261zrIqplwr1lio9BAiX9okh4ezqf.sirIHVXquYYF86KcbxSpJHN89PIiyR4V4KN6wFKt+NnGZ818flNEty8Hxk6DU09sVAbteoV9Ts0wiXxElG.dPZOsrv8w3gLoyrhwakBvKbJ6gFu5l8ahOexDpiLGr0vW76O7c1i9MwbIiO8RhLjoxrtZt+H3rnCEPBGNPntb1ph5ZzjwcTiULyHJ2Mdf5VIsxtpwVZkcSUh7INghO5jb0m54DOJVBfId7qppiuTM1ta50cJb6Cuw4iNNJh3Y.xK1ii1aO9181ii2aOd4d6wq1aOd8d6w2sEOTOn7GmKE9IGK.ACOOtLik04bBjUEmAh9O.m1abx.
    


  • There's a snippet below that simplifies this way down. Would really appreciate it if someone could explain how to go about changing the buttons into scripts buttons that are just text.

    HiseSnippet 1143.3ocsW0saiTCE1SaFXSnAwJwkfjUuJEU51TxtKkREg92pBztQjtqPBsZwYFmLlNi8nwdRIppR7HwiDOB7F.GaOSlIoIoIH04hpXeNeG+4Oe7wm1IQ3QkRQBxo5UihoHmMb6NhqBNNfv3nyOA47Yt8RUJAWhkrn3PJNg3yD3AIhzXzQihIRI0G43r9qzHbpVAY99mu6HRHg6QKlBgdqf4Q+IVDSULam1+HKL7LhO8JVTIua09bOA+XQnHEX25t6hhIdWSFPujncaMWjyGbpOSIR5pHJpD4T4Hg+ntAha3V+eKSx5ER0CZh5BAxN8YhPeMi0yhNNfE52IWEjHHJcJzj0sZxm5dAymMd9Bs4SLFvEHJqGNqsH50rL81c4omSI5UwRum510KgEqJrn41G4dNWQS5Sfifxzx5KZsOuh6wBvCtZmHx0zyRfAiQzn0t6tMF9yVGTuV8ZvAgTgGRRvBNsCbFfODmCd.UcrHJFLvUM1Ly9lZbEnT2HVHpL6SgpGbduPX4NrokkSwyi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tmGklMIGaFOlCaV+oXa0bQv47bNz4CjBucD7b1uyNNGnXPUGn0mAapPYANFYl6iF7RbnveJEc1bSa73v4RomyNDy8NNDVuXNT3enABy2sPzRxyxABq4ONf3xMFYxQfoKQCCjQQUyPdyofSTbXgFp4hEGqDPgUUR5ojZVqFGzMbt3+LyY443Mg931XVbWj2JOfalAHfcQtgSC3ZJFpUcIYLtrZVfnT7Rog8JADE9gpUVxHCFrrgvMEkLHfoV1nXIypq.lqXx3yXpsgsnfIrT4fJGKWZp8pKMsXkydwFnBBJEcg8fWExDqpfURhUEJccyDRAuYhJb89oEth0wQ39XQqYFBRDkKdgBx5fOK15iB+8ryitVhBdS2CgSZvpvSVUvJMjoLbbSz5P14v0ahqIuh8gL86MxPh0mj4LCcupI9t1Qu2hbQw6KMqXinBMx6XVm3xLJ1yYCSuuz8r2s8S28oO9Ise5iHbHT4ZFn8biPJPZ6UQ5J1IoCJv5NgcJv5uuy4otRVatl5LISQAc9akz4oqRmasJcV0NMIxpT5eNnCYcLSE8OAUYa4GakrsZunEpaGM8bVWQOHi.C05crRLkkqwCuGY4Z7HZCKrO+2Sh.wZOga6ZKw3r0jm4wAk4o++q3Yo3sxD8O9OfnnzDxh2nFtWuzeR.0T9x93W3HY.HKaoaUiWJVngyEJlu3V4K.rtz8A183FuQKmuarD9Bo0ts4ax2S491GMX.T1ZNY2x93e81+imPhuZ9vSnFEG81d4jw8gjedLfIBvmDOJzZC7Pq31Mw13NSelvOpw+.OIC1BaakLXqzAIiodJ467hOpA+hM2MpGfShnObUE6Sv1NsROeA48XtO+cdd3FwWALe4HZeiQ702XD6diQ7naLhGeiQ7jaLhu4JPfeytmOwHGGGV.cz6nny0srNRf0QF4AR9Wa21pm.
    


  • Could anyone tell me how would I go about making one of the buttons text a different colour? Would I have to create a new namespace, or could I do it through altering the code inside the existing scriptButtonPage namespace? I've tried to do it through a different namespace but struggling to get them to communicate.



  • I am sorry you have to monologue here all the time, I‘ll help out when I get back from London.



  • @christoph-hart ☺ It's no worries. Imagine what I'm asking is simple, so don't blame people for not responding. Making myself laugh anyways just rambling on, so it's all good. Enjoy London!



  • Snippet below with where I'm up to, got just a normal button closing the pages, but getting nowhere with setting up a new script button in a different colour. Will look forward to you help when you're back.

    HiseSnippet 1831.3ocwY0saaaCEVJIJn1qYnEXWz6lfGvpbQlqcZZ6JBxlaRa1x1Rqwba2.JJ5XjnsIprj.IcbbCxa1tXWt62Cv1iPeC1NGQ8CkskiSG5FSfiI446vOdNGd3OoCOzkJDgbCyJOaRD0v7pVcmDHGr+.BKv3vGYX9oVGORJCCD1B1vHepsvkyhj1IsZr2jHhPP8LLMW8aPPlUVyHt7tudOhOIvkl2jgwKBYtzefMjIyasS6um46e.wi9L1PMo2t8gtgA6G5GNBH3pVMMhHtugzm9DBJ1JVFlq+XOlLj2URjTgg4Z6E5Mo6fvwAJ4eASvN1mhUZYzETjp4CB88PFisZr+.luWmTCgv.zRmbyxpJyxmXcDyik0dt44ZwcXmiP2dXtxhnWKc50b4omoF8VSQuqa0M1qj2CxsOx5v.Ik2i.t.cZoj0XkuZCq8CAIBjMFRdC8.NTICgy1MatoM7Q8c1nZ.XvEfwO062AbB6EG.rQ0y1npMTXA9r.pcuQAtRVXfMpQkHNH5MsOcS6I0Uxl.AK9gtDe6nL8Ir20NkTDOuNj.putB.xjCVCVCOhjzXP3ITNngl6r.g.xgRXu.Q7.WThZTRoKgfByeVf7GCGIgorS5T1oe8bUpMEOgvsOFz1KA6I7qb.SznOU9SLO4.m54M7sTV+ARm5uRi7XoXs933qVS3n9inwXlbvC8iFPbZdZyjBLVM1pd8R0EqmS7.ma2zX+66P1pQykcHQSb8OPyxXzG.QQN0d5oS5SCr2CVRUC328ZzbVg83jwOzm0Of58L5oRmTGhSMITsF3hlx04TaL57pUWuoAwtuZ0e0l10bgvWN0ql9Xcd4wtBDOw2Ob79vmGCI4D.YqsuOC9l8ma+sn6olBeoZ3nvQBZJ97fR5I.WlefIVlJF.BSiAnpsv.QvapD0EoI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W4xPHoQcYusP3KdmPL.MDWttj7Le4TQd58+AO2XoV1Vjn+9+ADEwXfURWnTYca629YnPEVkTY8c28WaVrYr0ady+Ht07kfUV+F23Oed7vLaPZ4YczVJ0UKB8c71LwQgCAk.msChRWQWqqUdne5lkZJ92BzT703sMl8M8tl0Qgdi7IxhO2H9FqIc.6QU3c8v2tKP.GBT259A4MHWV5dcqNLo6f4y2UlCegD6en4axK5tg0i60CtpbNYWy5fe9C+y2Znd1v9GQjbFtH6IiF1EhVco.SBffF7fDPnEBMtdSrNZY5RC7hq72PIoyVXcyjNak1owPhKO70tp8Yw2L9Jws.bJH9oyqXcDV2tU5NrHuGx7Xu10EMDeAv74iXqKMh6boQr8kFwcuzHt2kFw8uzH9xEf.+uF7vQxvgpkEPCcdb7IaLMeb.dkw3HPi+Ar5+5Z.
    


  • Figured this out...

    Didn't realise it was as simple as adding in ScriptButtons.make(Button1); and reading from the namespace script.

    Is there any documentation anywhere that lists things like .make etc.? Would save me having to bother people with all this stuff.



  • There is the script panel manual:

    http://hise.audio/manual/ScriptPanel.php

    But actually the make method is nothing in the API, it's just a user defined function that skins the existing component and add all functions to it to morph it into the thing you want, so this is more a coding-style paradigm:

    // MyButton.js - one file per custom UI widget. 
    // Add with include("MyButton.js") in the onInit callback.
    
    namespace MyButton // put it into a namespace
    {
        // takes a string for the ID and transforms the panel
        inline function make(name) 
        {
            local p = Content.getComponent(name);
    
            p.doSomething();
    
            return p;
        }
    
        reg someInternalData = 42;
    }
    
    
    // in onInit:
    
    include("MyButton.js");
    
    const var myButton1 = MyButton.make("MyFunkyButton1");
    
    


  • @christoph-hart Ah ok, I get it. Thanks Christoph. Getting there slowly, finding once you’ve actually figured out how a certain line is written, it makes so much more sense than ksp, just got a lot of figuring out to do!

    Do you mind if I ask you one more thing? Am I right in thinking the arpeggiator doesn’t have a slider pack index for the position? Is there a way of making the slider packs respond in the same way as the position highlights on the actual module? I’m trying to make it display the same way as yours does in Hexeract, did you completely write that from scratch, or is it the inbuilt arp?

    I seem to have a bit of a problem with it too, it sometimes starts playing the whole note along with the arp pattern, just triggers the whole sample when a key is pressed. Deleting the module, then reloading seems to get rid of it. I’ve set up some buttons that return the sliders back to their default value, could it be them that’s causing the problem? If I script anything to do with the right hand edit panel, do I then have to include parameter id’s etc. within the code, or can the two work in tandem?



  • Thanks, I am constantly asking myself why I did bother inventing a Frankenstein thingy between Javascript and C++, so I appreciate when other people start to see the benefits of it too 🙂

    Actually the arp code was built by @elanhickler in "Javascript" specifically for HEXERACT and I ported it to C++ and merged it into the codebase for general usage, so yes, it's basically the arpeggiator that is powering HEXERACT.

    The arp position is actually a "read-only" slider that changes it's value depending on the index (starting with 1, zero means not playing). You can grab it with Arpeggiator.getAttribute(Arpeggiator.CurrentStep);.



  • @christoph-hart Perfect, thank you! Yeah, you're building something pretty amazing here, completely hooked. Thanks again for your help.



  • @christoph-hart Definitely getting a bit of weirdness with the arp, the whole adsr on the gain is triggered once along with the arp pattern, if I select the combobox on the arp relating to the standard midi channels, theres two groups of 16 in there, is that right? If I select the '17th' All Channels, then change it back to the first all channels it works, but resets on loading the project.



  • 0_1543073084195_arp pic.png

    Picture here. Seems to only do it on reloading the project. If I set up an arp in a new project it's fine, if I save then reload that new project, same problem is there.



  • Ah yes that definitely looks like a glitch, I'll take a look.



  • This post is deleted!


  • This post is deleted!

 

3
Online

383
Users

1.2k
Topics

8.8k
Posts