HISE Logo Forum
    • Categories
    • Register
    • Login

    Vectorized Power Button / And Lot Of Questions

    Scheduled Pinned Locked Moved Scripting
    11 Posts 3 Posters 623 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ustkU
      ustk @Natan
      last edited by ustk

      @Natanr First, you need to modify repaint() in the main callback for changed()
      The Midi learn works in Hise...
      Checking in Ableton...

      Can't help pressing F5 in the forum...

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @ustk
        last edited by

        @ustk Well, I think I remember something about that. You need in fact to associate a hidden stock button to your panel. This button will be used for DAW automation.
        I might be wrong, but I reckon Midi Learn in a panel doesn't mean it will be accessible in the DAW. This why you need a hidden button connected to your panel by their respective callbacks.

        Can't help pressing F5 in the forum...

        NatanN 1 Reply Last reply Reply Quote 1
        • NatanN
          Natan @ustk
          last edited by

          @ustk Thank You, Sir
          I Already Made A Few Other Buttons Which That Connected To A Transparent Button, The Automation Works For Them But The Right Click Still Missing!

          1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @Natan
            last edited by ulrik

            @Natanr I made this in the Panel Callback, and if enabling MidiLearn, indeed it change the buttons value.
            I don't know about the other issues you have where the button doesn't show up in you daw.
            You know that the "Midi learn" only show up in the "Plugin Preview"

            inline function onPowerBTNControl(component, value)
            {
                if(isDefined(value))
                {
                    component.data.value = value;
                    PowerBTN.setValue(Math.round(value));
                    PowerBTN.changed();
                }
            };
            PowerBTN.setControlCallback(onPowerBTNControl);
            

            I should say that I don't know if this is the way to go... 😱

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

            ulrikU 1 Reply Last reply Reply Quote 0
            • ulrikU
              ulrik @ulrik
              last edited by ulrik

              @ulrik I compiled the Power Btn and the Midi Learn works fine
              powerbtn.gif

              But it doesn't show up in automation in Logic X Pro

              I guess @ustk is right about not showing up in the daw

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              http://musikboden.se

              NatanN 1 Reply Last reply Reply Quote 1
              • NatanN
                Natan @ulrik
                last edited by

                @ulrik Oh Thanks
                I Guess There Is a Bug In Windows Version, That Won't Show The Pop-Up!!!

                ulrikU 1 Reply Last reply Reply Quote 0
                • ulrikU
                  ulrik @Natan
                  last edited by

                  @Natanr if you compile this, is the Pop-Up showing in the Windows version?

                  HiseSnippet 1583.3ocsWs0aaaCEVNMtXwaFXEXur23xCCJ.dtRJR1VMnnc41Z1ZRMlaKFPQQghDsMQkoLjnSZPP9Ou+AaGdShR1snH.UN1Q7biemK7xYbdVLtnHK2p0Nu9lkXqV+P6I2PYyOZdDgZc1wVs991iytFmiNjQsN7lkQEE3DqVsdvevEn0NaaId92mcXTZDMFWQxx5sYjX7KIKHrJpie9eQRSOMJA+ZxBCo8e9YwYzixRyVAf4AscrVFE+wnY3Kh3hsUaqVO7jDBKKeBKhgKrZs8gYI2LYd10To7ukTPtLEyG3ZMALjj7oYoIbDyoZczbRZxXsSWXAVYbUH3AxPvO09bRBojdUn3GELPUZXFOZs0WBdtlvy4qGdsLf21R38n1ShyIKYUbjooynLb9zHHEXBKorVaABbTFHAk0eQzGwmlCCJ0v10woGB9YuC51oaGHQTvPWEkiDo9Ce8EnmhzZGkjLNhhSs2Uyb2dHu.928N.gPbCn4zOIhE0eYDatgAhywPDZLPzFTXsY6XPEP52ILjqqSOWmvdNvmvA8FDX7lqynFzcC85MvuWnIcOG9W+dtCE7bc7J+p0ZfCmi3U2lTAa4F.pEreOWO2Moh2nMLMFbL.lFwFbjfLrFc8DBtOXUCBlHv.oq8JGzavOqjSE.0lUNKaJFGFJB+kdWffZfK+O2v.UDRMNvUlVTy7npHgueMNfJ04HMfm2vxzW2NkL4x446TK64WK25EHlpRT5WKL5pBIJTNz0joW8.7HwPvbfjCavxsVdVlpLKOFNrLRGnJP2Wh1f5t+vQ035Mn47zsiBwdJPuNDccjQCu8cp455YtFW2FkFqwbfeMD4WyFdl7T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bFrGVNgWpdwpESfiwhw.RnP4LegLTPvUUL1Qu5YBllHF7evihoqtliyzUyzZQTbd1GhkKT4sc+cBJ.lnhhwcZeNeLxsb8Yam9NVKfJ4ODGyCE+Ff8Mqi28Pm8uG53eOzI3dnyf6gNCuG5L5KpCeSjeeEKagbYBPX7Ih8Ja05DwtLhJRq+Gjj5pxO
                  

                  Hise Develop branch
                  MacOs 15.3.1, Xcode 16.2
                  http://musikboden.se

                  NatanN 1 Reply Last reply Reply Quote 1
                  • NatanN
                    Natan @ulrik
                    last edited by Natan

                    @ulrik This Is So Strange, The Pop-up Not Showing Up!!! ( Windows 10 )
                    Note: Hise Build - Feb / 1 / 2020

                    ulrikU 1 Reply Last reply Reply Quote 0
                    • ulrikU
                      ulrik @Natan
                      last edited by

                      @Natanr strange, it's working here on MacOS

                      Hise Develop branch
                      MacOs 15.3.1, Xcode 16.2
                      http://musikboden.se

                      NatanN 1 Reply Last reply Reply Quote 1
                      • NatanN
                        Natan @ulrik
                        last edited by

                        @ulrik Not Sure Why.
                        But I'll Compile And Test On My Mac In A Few Hours, It Might Come From A Faulty Build Or Hise Version.
                        Thank You , BTW That Ghost Button Trick Did The Job, I Just Linked An Invisible Button To The SVG BTn Just For Automation Purpose :) Works Just Fine

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        22

                        Online

                        1.8k

                        Users

                        12.1k

                        Topics

                        105.0k

                        Posts