HISE Logo Forum
    • Categories
    • Register
    • Login

    Filter drag overlay and filter graph LAF methods

    Scheduled Pinned Locked Moved General Questions
    14 Posts 7 Posters 1.3k 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.
    • orangeO
      orange
      last edited by orange

      Are there any documentation or example for this current commit?

      Link Preview Image
      - added laf methods to filter drag overlay and filter graph · christophhart/HISE@6e5c862

      The open source framework for sample based instruments - - added laf methods to filter drag overlay and filter graph · christophhart/HISE@6e5c862

      favicon

      GitHub (github.com)

      develop Branch / XCode 13.1
      macOS Monterey / M1 Max

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

        @orange

        Not yet as far as I know.

        The new functions are:

        "drawTableHeaderColumn",
        "drawFilterDragHandle",
        "drawFilterBackground",
        "drawFilterPath",
        "drawFilterGridLines",
        "drawAnalyserBackground",
        "drawAnalyserPath",
        "drawAnalyserGrid"
        "drawOscilloscopeBackground"
        "drawOscilloscopePath"
        

        You can use the usual Console.print(trace(obj)) to find out what properties you get.

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

        orangeO 1 Reply Last reply Reply Quote 1
        • orangeO
          orange @d.healey
          last edited by orange

          @d-healey Good to know thanks.

          Can we know which parametric eq node is clicked in the dragable filter floating tile?

          develop Branch / XCode 13.1
          macOS Monterey / M1 Max

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @orange
            last edited by

            @orange Check trace(obj), there's a selected (or clicked) property.

            orangeO 1 Reply Last reply Reply Quote 2
            • orangeO
              orange @Christoph Hart
              last edited by

              @Christoph-Hart I will check it, thanks

              develop Branch / XCode 13.1
              macOS Monterey / M1 Max

              1 Reply Last reply Reply Quote 0
              • NatanN
                Natan
                last edited by

                @Christoph-Hart Christoph, While we are here, any Chance to see LAF For Plotter?
                FillPath and drawPath?

                1 Reply Last reply Reply Quote 0
                • NatanN
                  Natan
                  last edited by

                  @d-healey @orange Any Luck Here?

                  HiseSnippet 1525.3oc2X8zaSbDEe23LQDCkBHDhJ0Cqr5AiTHwNgRqJph0I1F4RB3DG9yMzjcGaOMimYY1YSvfPJG4V6Gg19Eo8HGaO0O.8RQpRkuAz2r6Zu65XBIt.Mz8fkm2LuY+89Mu+sSSovg36KjFlytYeOhg4oPs5yUcWoKlxMZT0v7zn0v9JhzJRzx88v99DWCSyb2PKvb1oMBed40WFyvbGRhHCi6JnNjUo8npDoMsuIkwpicIaR6kZ0WwtgifuhfIB.7jCUxvC6rMtC4VX8xlBYXNSMWpRHaovJhug4zKKb62pqXWdz5uK0mtEinGT1nErQQhqKXtZDqkZrRWJys4.612vvD0LgExEwBmGsF0kNTdBablvIrRzHMeXNUV3kKC7JmFdkRAuw.IyTPZ5HHcVTKGI0SkLiFOmD0fCGNsw.smFJQq0XpWXhVQ.qfqluGdaRcILXnFEuZoRyYA+boqkOe9EVvphquzpIXqTdm7vYguxhgaa80VC1CGIALsUENX1pBw1U3t0IDVQs9vBmWR5P09J0C3NJpfWrfqDuacJCj0Dq5VXNq1ClpybVhs91Kk+I4msy79DUz4dwR2uc65gOvlByn2.spEgEOuG7mP0lGC.YtEgk7zPrmOFs6fkV0YBrBLfMoLxhovdG86nmmfCCJVHypJ.aRFAZ.sOqDrvKcsA32RvukPQtMuXnIj+o4sFcp1sG6bZ7HELFQN1o0wDxCRwh7fdaQjyAFKKfLbgfiRVuOzq26KcvgSD8jZgBdCNUcaOB+0ExXDyov+tSipXEV6xFKCVmGQpnZHXVkrCD+G4.OKpJweakvC10gGDfGrJNhKxkM8wfAE7k+XTZQkMdzvDF6stc+jrGMr2k5p5lHPY2kP6zMUhGpcLFi.DrygdlUo9dLbeis5LH2yryrzRK8pPUTjdIReE7jU5hwh2SKNjIL+FzSxaYUXHe0vsvWYUH5UUXN8TM3tjGABub4vgP5IlX26Ija6CI7H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quote 0
                  • ?
                    A Former User @Natan
                    last edited by A Former User

                    @Natan I think the drawFilterPath function has a bug. Your snippet doesn't work here.

                    laf.registerFunction("drawFilterPath", function(g, obj)
                    {
                    	g.setColour(0XffFFFFFF);
                    	g.drawPath(obj.path, obj.area,2);
                    });
                    
                    

                    ewew.gif

                    Any ideas @Christoph-Hart ?

                    Christoph HartC 1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @A Former User
                      last edited by

                      @Steve-Mohican Use the obj.pathArea property to scale the path.

                      ? 1 Reply Last reply Reply Quote 1
                      • ?
                        A Former User @Christoph Hart
                        last edited by

                        @Christoph-Hart That worked, Thanks!

                        I'd be appreciated if there are some documentation and examples with these awesome filter drag laf functions. :folded_hands:

                        1 Reply Last reply Reply Quote 0
                        • M
                          mehmethand
                          last edited by

                          Is there any examples you can share?

                          1 Reply Last reply Reply Quote 0
                          • DabDabD
                            DabDab
                            last edited by

                            How can I change Filter PopUp BG Menu?

                            const var laf = Engine.createGlobalScriptLookAndFeel();
                            
                            laf.registerFunction("drawFilterBackground", function(g, obj)
                            {
                              g.fillAll(Colours.red);
                            	
                            });
                            
                            
                            laf.registerFunction("drawFilterPath", function(g, obj)
                            {
                            	g.setColour(0XffFFFFFF);
                            	g.drawPath(obj.pathArea,2);
                            	
                            });
                            
                            
                            Not working.

                            Bollywood Music Producer and Trance Producer.

                            1 Reply Last reply Reply Quote 0
                            • DabDabD
                              DabDab
                              last edited by

                              @Christoph-Hart How to use drawFilterGridLines ?
                              Please update Documentation for LAF. New HISE has plenty of new LAF functions (matrix peak meter, Filer,Sliderpack,ADHSR etc). Without proper doc guidance we are unable to get it work.

                              Bollywood Music Producer and Trance Producer.

                              1 Reply Last reply Reply Quote 0
                              • NatanN
                                Natan
                                last edited by

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post

                                30

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                102.0k

                                Posts