HISE Logo Forum
    • Categories
    • Register
    • Login

    Difference in protocol for numStrips backend vs scripting

    Scheduled Pinned Locked Moved General Questions
    12 Posts 4 Posters 352 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 @TNTHM
      last edited by

      @TNTHM Yep that is strange…
      But why are you accessing numStrips at runtime?

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

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

        @ustk Strange indeed...

        I'm trying to find a way to reskin knobs through the gui by embedding multiple pngs in the images file and then directing the plugin to access them with a combobox. Do you have any ideas?

        I'm trying to avoid doing a multi panel set up with different skins on each panel to save space. I'd rather have a combobox that lets me flick through different knob skins at runtime.

        1 Reply Last reply Reply Quote 0
        • T
          TNTHM
          last edited by

          @Christoph-Hart do you know why the protocol is different for numStrips backend vs scripting?

          1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey
            last edited by

            I'm pretty sure you can't reskin controls at runtime.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            T LindonL 2 Replies Last reply Reply Quote 0
            • T
              TNTHM @d.healey
              last edited by

              @d-healey That's a bummer if true.

              In terms of visuals, I understand that you can change the color of vector knobs at runtime. Are there other visuals that can be edited through the gui at runtime?

              ustkU 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @d.healey
                last edited by

                @d-healey said in Difference in protocol for numStrips backend vs scripting:

                I'm pretty sure you can't reskin controls at runtime.

                All you can do is embed a set of hidden controls that are using each of the images you want to use, then HISE will add them into the compile, and you can reference them to set the filmstripimage

                HISE Development for hire.
                www.channelrobot.com

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

                  @TNTHM Yep, either prepare all the controls and hide/unhide them
                  Or you should be able to do that with a scriptPanel that is showing different images.

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

                  1 Reply Last reply Reply Quote 0
                  • T
                    TNTHM
                    last edited by

                    @Lindon @ustk Is it possible to direct the plugin to reference an external folder where I could host the images?

                    /Library/HISE Images/Knob 1.png

                    Then if you replaced Knob1.png with a different png with the same name, when the plugin went to reference the image file at runtime, it would look for Knob 1.png and display to new image.

                    d.healeyD LindonL 2 Replies Last reply Reply Quote 0
                    • d.healeyD
                      d.healey @TNTHM
                      last edited by

                      @TNTHM No

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      1 Reply Last reply Reply Quote 1
                      • LindonL
                        Lindon @TNTHM
                        last edited by

                        @TNTHM as Dave says "No". When you compile your plugin it inserts all the referenced images into the plug-in itself - thats why theres no set of images installed when you install your plug-in.

                        So to use differnt images in your plug-in you need to have and reference (have loaded) every one of those images before you compile

                        HISE Development for hire.
                        www.channelrobot.com

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

                          Same as the guys said, hence the panel solution:
                          First, place these 2 images in your "/Images" folder => images.zip

                          HiseSnippet 1118.3ocsV0uaaaCDmxIZqVctnEXO.D9elLPlgcVa2.F5VVbbR8Z9vHNqcEAEFzRz1DQhTfhtoFAAXOZ6IXOK6MX6HojkbpSVhAlPBfuu+cGu6H6KEAzzTgD4T8r4ITjyW4NXNWMsyTBii5sGx4ItGQRUTI1xZ24IjzTZHxwYiCzLbptIx782+7tjHBOfVvBgdqfEPOjEyTEb6uyaXQQ6SBomwhKo8y2oWff2QDIlA3YC2VnDRvEjIziIZ0p3hb9htgLkPNPQTzTPmcEgyGLUbI2p+aYorQQTMQaz.vQV1nNSYQg8yy0TDxYy9EY9F1L+qcOhExVvunB7Ti.bgEkqANUVFRatDjZeaPZeQTn1A2B7bJAuMsv6YtCBjrDUgDM1draONb3Ll.k8xvxpKpxesgaGAnAW0LlbAceIPrvB+W1p0V3WzpUierlGnVpHh1LHhRj9ZN07fiiTE9iDItOgSiZieEN2aSnpNh3DAGH7qaEW2ZkknYjfD1KFN97qeU+SO4W614rg6exg608zq6M7MbwkMS3SpuEF9p26nCrV+ea66lJF9Z5PVZl4Za2t9MwKKdhtqIE+pysNOWwOXTzpB3+yDGBgBxq50ugGRoQz.0tJN3C74qNs2clRI3.x2plG9V9tKKAbawysadMOFOhwo3wy3AJlfiADt.ZZmKEQ9A4ddK.6QynMp4cE15T1Xruk2UEQolWUirkJA40ryK7eSFOj9oSFWD.CfMFmcTIoIvfhxzwnYecMuqgeNVHw9ivLdoBYC7nlo5xfAzcHQQifAb+UjPMxpJKZH.y5qCyohYJnZ3mWM7mzv6JupSZFJIWZ6XJkTagOGZvg+TSg9E3D3crP0T+FELdMkMYJ.9OXTCFD7tF9uTs9XghdB22DEuq8v2Tz3wqTVVdDQkqTrdwm7tLzmOKdDUleblqHrMX40MO99stIv1DVRQAuGmoNIglQWrPRKyl04RagVjrkYUjik4ZRsUnVAqOeeGJaHA17UIScPUkYu2Sx16YmXPL.iUcyF7PlpS4qfPO.y2N2bWGi0+Vu8HJhd6aFb.HlPkJltP6rG8ivUY1cwUc2ildgRj.gYwPMb6jMj0x2TqacMQ7Qt11XzmVf0+LXm4EDuemK0clELj6L0zYVlCpTn9x6QwoHX+w3RAC8S4Ay0gCj4Ax04a.JIIjINPJlkX6EdXAc6RA8op0One90evkvhvYQD0x2LqeBRl.X9Yoq.0WywSYp4k6Od.WW2ZkWW2dUsu2S39L29LUvzUi2Jq.u54g+mwa1iep41c7XXGbAX2zc+eeceoyC.J1E5SNhnjLn2w83YwCf2+EPAjvgYlTcORE8JBKcq7w0ATdng3efuLgs0zNYBamKDESBjhgA1MC5mW8HCG.SbyKKqBOwEnwK1m351pYKTL7pugAA5Rw2BXe01r8ZXy2sF1770vlWrF17x0vlueMr4GtSazO39WloDw1wDfQ+tlkyNNc4DnKyzQh9Wv6LwYO
                          

                          Of course, you can use filmstrips for knob/meter design...

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

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

                          35

                          Online

                          1.8k

                          Users

                          12.0k

                          Topics

                          104.4k

                          Posts