HISE Logo Forum
    • Categories
    • Register
    • Login

    Filmstrips issue? (vertical sliders)

    Scheduled Pinned Locked Moved Unsolved Newbie League
    8 Posts 3 Posters 87 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.
    • D
      dizavin
      last edited by

      Hey Gang,

      I'm encountering this confusing issue where I load in some filmstrips to some vertical sliders so I can learn about how they work. (loading them from the project "images" folder, Resizing down to fit, not up)

      The sliders look okay and the appear to work until I save and reopen the project, make an adjustment to any element of the project or try to export it. The filmstrips then vanish and the stock vertical sliders appear in their place until I highlight them all, adjust the size of the filmstrips by one increment and back. They then reappear and the plugin can be used in HISE and it appears to work... until I make a change, save and reopen or attempted to export the project. Then it all starts again.

      This only happens with vertical sliders. I follow the exact same workflow with Knobs and Buttons and they save and work and export without issue.

      Is there a specific setting that only applies to vertical sliders that I'm not seeing?

      Any help would be appreciated. I've attached some screenshots to help explain what I'm experiencing.

      Filmstrips in the Plugin

      Filmstrips When They Vanish

      Filmstrip Settings

      ChazroxC d.healeyD 2 Replies Last reply Reply Quote 0
      • ChazroxC
        Chazrox @dizavin
        last edited by Chazrox

        @dizavin Sounds weird...are you sure you dont have any script interrupting that parameter? You could script its size in onInit and see if it sticks. Highlight all of your knobs, make a variable for them, loop through them setting the scaleFactor.

        // onInit
        
        const allVerticalSliders = [
        
        Content.getComponent("Slider1"), 
        Content.getComponent("Slider2")
        
        ];
        
        const scaleFactorNOW = 0.5;
        
        for (a in allVerticalSliders)
        {
             a.setAttribute("scaleFactor", scaleFactorNOW); 
        
        }
        
        // off the top of my head. I think thats correct. 
        
        
        D 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @dizavin
          last edited by

          @dizavin Leave the type set as knob

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          D 2 Replies Last reply Reply Quote 0
          • D
            dizavin @Chazrox
            last edited by

            @Chazrox I do not have any scripts at all.

            1 Reply Last reply Reply Quote 0
            • D
              dizavin @d.healey
              last edited by

              @d-healey I'll give that a try.

              1 Reply Last reply Reply Quote 0
              • D
                dizavin @d.healey
                last edited by dizavin

                @d-healey I'll give that a try.

                UPDATE: once again @d-healey is on the money. Thanks!

                Any chance you are aware of why the "hotbox" of the knobs/sliders is at the very, very bottom of the image?

                IE: you can't just click and drag anywhere on the Knob or Slider to adjust it, you have to "grab" it from the very bottom of the image. If I were to give this to a friend and didn't explain that, They would think that the plugin doesn't work. Any idea of why this is different with a filmstrip enabled? you seem to be able to grab anywhere on the default skin.

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

                  @dizavin what is the drag direction set to?

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • ChazroxC
                    Chazrox @dizavin
                    last edited by

                    @dizavin sometimes if "showTextBox" in property editor the text box blocks the slider. Try unchecking that and try again.

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

                    18

                    Online

                    2.0k

                    Users

                    12.6k

                    Topics

                    109.8k

                    Posts