HISE Logo Forum
    • Categories
    • Register
    • Login

    How to get a PNG Knob Filmstrip into UI

    Scheduled Pinned Locked Moved General Questions
    6 Posts 3 Posters 379 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.
    • P
      pgaudioworks
      last edited by pgaudioworks

      Hello, I'm trying to experiment with knobs from Knobman. I loaded a knob to thei mage below, but it's not changing the knob in the UI after compiling. The file is a PNG file and it's inside the project folder. What am I missing? Thank you!

      Screenshot 2024-03-27 at 9.32.12 AM.png

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

        @pgaudioworks Set the numStrips property

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

        P 1 Reply Last reply Reply Quote 0
        • P
          pgaudioworks @d.healey
          last edited by

          @d-healey what's the correct number to put in here?

          Btw, I'm a patron of yours now. Looking forward to learning lots!

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

            @pgaudioworks

            what's the correct number to put in here?

            The number of frames you have in your image.

            Here's how to do it for a button. Same thing applies:

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

            P 1 Reply Last reply Reply Quote 0
            • P
              pgaudioworks @d.healey
              last edited by

              @d-healey exactly what I needed. Thank you David!

              WaterSpoonW 1 Reply Last reply Reply Quote 0
              • WaterSpoonW
                WaterSpoon @pgaudioworks
                last edited by WaterSpoon

                @pgaudioworks One trick I have learned if you download UI knobs and they do not come labeled with # of frames. Is to look at the pixel size of the image and divide height by the width. Just how David made his knobs in the video. Great work!

                Example: Filmstrip size is 43x2752 2752/43 = 64 frames

                Most prob knew that one, but it has allowed me to use some more options.

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

                20

                Online

                1.7k

                Users

                11.8k

                Topics

                102.7k

                Posts