HISE Logo Forum
    • Categories
    • Register
    • Login

    VU Meter Returning Incorrect

    Scheduled Pinned Locked Moved General Questions
    vu metersliderpeak meters
    11 Posts 3 Posters 552 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.
    • Y
      yall @trillbilly
      last edited by

      @trillbilly either your movie strip is not good or you misconfigured the slider or the mid-value

      trillbillyT 1 Reply Last reply Reply Quote 0
      • trillbillyT
        trillbilly @yall
        last edited by

        @yall Slider I have values set as such.

        Untitled.jpg

        I dont see any of this creating an issue, do you?

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

          Why don't you use the Peak Meter floating tile?

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

          trillbillyT 1 Reply Last reply Reply Quote 0
          • trillbillyT
            trillbilly @d.healey
            last edited by trillbilly

            @d-healey Didnt eveen realize it was there lol. Kind of limited in design but can work for some purposes. It still seems to not quite be at the same peak as the master. Maybe because when Im not using a saved project (just kind of fidgeting with no project) it always loads my previous saved projects preferences.

            For the MatrixPeakMeter, how do you use the Channel Indexes?

            Also, can you lay it horizontally?

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

              @trillbilly

              Kind of limited in design

              You can style it with LAF.

              how do you use the Channel Indexes?

              If I remember correctly it's an array, [0, 1] would be channels 1/2.

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

              trillbillyT 1 Reply Last reply Reply Quote 1
              • trillbillyT
                trillbilly @d.healey
                last edited by

                @d-healey awesome, thank you!

                Do you know if it can be used horizontally instead of vertically?

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

                  @trillbilly Yes you can.

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

                  trillbillyT 1 Reply Last reply Reply Quote 0
                  • trillbillyT
                    trillbilly @d.healey
                    last edited by

                    @d-healey How do you do it? I didn't see it in the properties.

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

                      @trillbilly It's just the way you draw it with LAF

                          // Peak meter floating tile
                          laf.registerFunction("drawMatrixPeakMeter", function(g, obj)
                          {
                          	var a = obj.area;
                          	var value = 0;
                      
                              for (x in obj.peaks)
                              	value += x;
                      
                              value = value / obj.peaks.length;
                              
                          	g.setColour(obj.itemColour);
                          	g.fillRoundedRectangle(a, 8);
                              
                          	g.setColour(Colours.withAlpha(obj.itemColour2, 0.2 + value));
                      
                      		if (a[2] > a[3])
                      		{
                      			a[2] *= value;
                      		}
                          	else
                          	{
                      	    	a[1] = a[1] + a[3] - a[3] * value;
                      	    	a[3] *= value;
                          	}
                          	
                          	g.fillRoundedRectangle(a, 8);
                          });
                      

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

                      trillbillyT 1 Reply Last reply Reply Quote 0
                      • trillbillyT
                        trillbilly @d.healey
                        last edited by

                        @d-healey Got it, thank you. I'll be diving into LAF I guess lol

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

                        25

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        102.8k

                        Posts