HISE Logo Forum
    • Categories
    • Register
    • Login

    LAF for Tables broken in develop branch?

    Scheduled Pinned Locked Moved Scripting
    49 Posts 7 Posters 2.4k 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.
    • Casey KolbC
      Casey Kolb @d.healey
      last edited by

      @d-healey said in LAF for Tables broken in develop branch?:

      I think so, although there has been some posts that exporting plugins isn't working.

      Good to know. I'll give it a whirl.

      Casey Kolb
      Founder & CEO of Lunacy Audio
      Composer | Producer | Software Developer

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

        plugin export should work now, tables and waveforms can be customized (still need to update the docs though).

        Casey KolbC 1 Reply Last reply Reply Quote 2
        • Casey KolbC
          Casey Kolb @Christoph Hart
          last edited by

          @Christoph-Hart Thank you sir! Great stuff :)

          Casey Kolb
          Founder & CEO of Lunacy Audio
          Composer | Producer | Software Developer

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @Casey Kolb
            last edited by

            @Casey-Kolb Have you played around with the LAF for waveforms yet?

            Casey KolbC 2 Replies Last reply Reply Quote 0
            • Casey KolbC
              Casey Kolb @A Former User
              last edited by

              @UrsBollhalder Just about to! Will report back.

              Casey Kolb
              Founder & CEO of Lunacy Audio
              Composer | Producer | Software Developer

              1 Reply Last reply Reply Quote 0
              • Casey KolbC
                Casey Kolb @A Former User
                last edited by

                @UrsBollhalder Seems to be working great so far. Looks like Christoph made a lot of improvements to waveform drawing in general. Thumbs up!

                Casey Kolb
                Founder & CEO of Lunacy Audio
                Composer | Producer | Software Developer

                ? 1 Reply Last reply Reply Quote 0
                • ?
                  A Former User @Casey Kolb
                  last edited by

                  @Casey-Kolb How do you get it to gradient? I love gradients!!!
                  I mean how do you draw the actual waveform in the LAF function?

                  PS: Have you checked the new color vec4 options as well?

                  Casey KolbC 1 Reply Last reply Reply Quote 0
                  • Casey KolbC
                    Casey Kolb @A Former User
                    last edited by

                    @UrsBollhalder Gradients are definitely the way to go :) This is all you have to do:

                    laf.registerFunction("drawThumbnailPath", function(g, obj) {
                        var a = obj.area;
                        g.setGradientFill([0xCC0000FF, a[0], a[1], 0xCC00FF00, a[2], a[3]]);
                        g.fillPath(obj.path, obj.area);
                    });
                    

                    PS: Have you checked the new color vec4 options as well?

                    Not yet but sounds intriguing!

                    Casey Kolb
                    Founder & CEO of Lunacy Audio
                    Composer | Producer | Software Developer

                    ? NatanN 2 Replies Last reply Reply Quote 2
                    • ?
                      A Former User @Casey Kolb
                      last edited by

                      @Casey-Kolb Thanks Casey... Weird... I tried the fillPath-thingie, but didn't get it to work this morning... Well... Thanks a lot! This is awesome!

                      1 Reply Last reply Reply Quote 1
                      • NatanN
                        Natan @Casey Kolb
                        last edited by

                        @Casey-Kolb Casey thanks for the Code,
                        Wondering if the Tiny border is removable?
                        i just don't like the White line :/

                        Casey KolbC 1 Reply Last reply Reply Quote 1
                        • Casey KolbC
                          Casey Kolb @Natan
                          last edited by

                          @Natan I think these are the options you can use LAF with:

                          drawThumbnailBackground
                          drawThumbnailText
                          drawThumbnailPath
                          drawThumbnailRange
                          drawThumbnailRuler
                          

                          You might also have to try drawPath inside the drawThumbailPath function?

                          Casey Kolb
                          Founder & CEO of Lunacy Audio
                          Composer | Producer | Software Developer

                          DabDabD 1 Reply Last reply Reply Quote 1
                          • DabDabD
                            DabDab @Casey Kolb
                            last edited by

                            drawThumbnailBackground
                            drawThumbnailText
                            drawThumbnailPath
                            drawThumbnailRange
                            drawThumbnailRuler
                            

                            @Casey-Kolb Is this available in old Master branch or only in the latest Develop branch?

                            Bollywood Music Producer and Trance Producer.

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

                              Thanks a Lot @Casey-Kolb 👋👏
                              Will give it a try now 😎

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

                                @DabDab No! it is Only Available on the new Layout Branch

                                Casey KolbC 1 Reply Last reply Reply Quote 1
                                • Casey KolbC
                                  Casey Kolb @Natan
                                  last edited by

                                  @Natan That's correct. Christoph just added it a few days ago.

                                  Casey Kolb
                                  Founder & CEO of Lunacy Audio
                                  Composer | Producer | Software Developer

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

                                    @Casey-Kolb going back to tables, and for audio waveforms too, do you use a method to differentiate between tables or are they all the same? i.e do an 'if (obj.text == myawesometable1)', else 'if (obj.text == myawesometable2)' etc

                                    I never got it to work for tables...

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

                                    d.healeyD Casey KolbC 2 Replies Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey @DanH
                                      last edited by d.healey

                                      @DanH

                                      Console.print() is your friend. Tables don't expose their text property in laf. Shouldn't be too difficult to add it though.

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

                                      DanHD 1 Reply Last reply Reply Quote 0
                                      • DanHD
                                        DanH @d.healey
                                        last edited by

                                        @d-healey Confused, what do you think I should be printing? And you mean add to source code?

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

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

                                          @DanH

                                          Confused, what do you think I should be printing?

                                          You should check out my LAF videos ;)

                                          Console.print(trace(obj))

                                          And you mean add to source code?

                                          Yes. Probably in ScriptingApiObjects.cpp

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

                                          DanHD 1 Reply Last reply Reply Quote 0
                                          • DanHD
                                            DanH @d.healey
                                            last edited by

                                            @d-healey oh wait I did it by using the itemColour / bgColour (which you suggested a while back but I did it wrong!)

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

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

                                            17

                                            Online

                                            1.8k

                                            Users

                                            12.1k

                                            Topics

                                            104.9k

                                            Posts