HISE Logo Forum
    • Categories
    • Register
    • Login

    VU Meter image strip jumps on the latest frame

    Scheduled Pinned Locked Moved General Questions
    15 Posts 4 Posters 663 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.
    • LindonL
      Lindon @orange
      last edited by

      @orange good question -maybe some combination of panels inside panels? - I never do this "rescaling to get a sharper image" thing...I leave all the image processing to photoshop (or gimp in my case..)

      HISE Development for hire.
      www.channelrobot.com

      1 Reply Last reply Reply Quote 0
      • orangeO
        orange
        last edited by orange

        Wow! Setting "width": 151, to "width": 150.9, issue gone.

        Since the strip is vertical, at first I thought that the issue was about the height value, but it was width. So weird...

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

        LindonL Dan KorneffD 2 Replies Last reply Reply Quote 0
        • LindonL
          Lindon @orange
          last edited by

          @orange - glad you got it sorted.

          HISE Development for hire.
          www.channelrobot.com

          1 Reply Last reply Reply Quote 1
          • Dan KorneffD
            Dan Korneff
            last edited by

            I encountered the same issue and ended up setting the index to Amount of Images - 1. That worked on my end. (basically discarding the last frame).

            Dan Korneff - Producer / Mixer / Audio Nerd

            1 Reply Last reply Reply Quote 1
            • Dan KorneffD
              Dan Korneff @orange
              last edited by

              @orange Could this be globally related to the decimal issue I'm seeing in other things?

              Dan Korneff - Producer / Mixer / Audio Nerd

              orangeO 1 Reply Last reply Reply Quote 0
              • orangeO
                orange @Dan Korneff
                last edited by

                @dustbro Yes it could be. This decimal sample delay issue right?

                develop Branch / XCode 13.1
                macOS Monterey / M1 Max

                Dan KorneffD DanHD 2 Replies Last reply Reply Quote 0
                • Dan KorneffD
                  Dan Korneff @orange
                  last edited by

                  @orange yup

                  Dan Korneff - Producer / Mixer / Audio Nerd

                  1 Reply Last reply Reply Quote 1
                  • DanHD
                    DanH @orange
                    last edited by

                    @orange Can I ask a noob question pls:

                    // the yOffset is index * heightOfFilmstrip
                        	this.setImage("filmstrip", 0, index * 120.0);
                    

                    What's is heightOfFilmstrip referring to?

                    DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                    https://dhplugins.com/ | https://dcbreaks.com/
                    London, UK

                    orangeO 1 Reply Last reply Reply Quote 0
                    • orangeO
                      orange @DanH
                      last edited by

                      @DanH said in VU Meter image strip jumps on the latest frame:

                      @orange Can I ask a noob question pls:

                      // the yOffset is index * heightOfFilmstrip
                          	this.setImage("filmstrip", 0, index * 120.0);
                      

                      What's is heightOfFilmstrip referring to?

                      heightOfFilmstrip value is the exact height value (in pixels) of the each frame in the image strip.

                      Below height value is for the final resized look.

                      Content.setPropertiesFromJSON(name, {
                            "width": 151, 
                            "height": 83,
                            "opaque": true 
                           
                          });
                      

                      develop Branch / XCode 13.1
                      macOS Monterey / M1 Max

                      DanHD 1 Reply Last reply Reply Quote 0
                      • DanHD
                        DanH @orange
                        last edited by

                        @orange Oh right, I get it now, that's what confused me! Thanks :)

                        DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                        https://dhplugins.com/ | https://dcbreaks.com/
                        London, UK

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

                        25

                        Online

                        1.8k

                        Users

                        12.0k

                        Topics

                        104.3k

                        Posts