Forum
    • Categories
    • Register
    • Login

    AudioWaveForm LAF

    Scheduled Pinned Locked Moved General Questions
    28 Posts 6 Posters 2.0k 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 @Fortune
      last edited by

      OK so necro-ing this topic because I cant get the LAF to do what I want...

      Here's my LAF influenced output:

      9d016eac-7952-4f0a-a411-af77571bff97-image.png

      Sure I can change the path colours(fill and outline) but I cant see any way to remove this background, or change the colour of the offset start point....

      Do we have anything?

      HISE Development for hire.
      www.channelrobot.com

      David HealeyD 1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @Lindon
        last edited by

        @Lindon Got a snippet? I've been having great success getting Claude code to improve HISE's look and feel functions for me so if I can't do it I'll see if Claude can help.

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

        LindonL 1 Reply Last reply Reply Quote 1
        • LindonL
          Lindon @David Healey
          last edited by Lindon

          @David-Healey

          you will need to load the Sampler with something...

          HiseSnippet 1551.3oc2XszaaaDDdokXpkZRPRPJPuT.BidPtv0PzujCBJhjeHWgZmHXYmzdJXE4JoslbWhkK8iVji8WRuTfdom5gdJ+K5egdL+CbmkODIkkcTTcRqqLfklYmY2uY14EYaA2h36yEHsxGblGAoca8NmwjC1b.lxPs1Bo8.cb.keB9XROtvUR7knMNyC66SrQZZE1QImVohnvOu4IafcvLKRJKD54bpEYWpKUlxsc8ug53zDaSNf5lQ5Up2xhy1j6vC.LUPuJxCacDtO4oXkXyni9Zr+.j1WnulcO7Z10VspIY40sqsjYsUezJ0VqZ0d1qaVqastKiswqUqJR6VaaSkbQGIFPORq3Fb6y5LfeBK5.dN0m10gnHLQcfSNhcStisxDUbQaNf5X2NwY4iPZ5sSccEhbcOTeOpMcH+TW38BWvHUirNPsYxCuB4fmYV3UMC7FCjzx.ohQP595crDTOY5JJ77w5sX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D8HJaQ5gCbjIbyWoXONi6MfynV4yEfX698IhrXerFTCoDRES47v56SbHX+LIyedcU2NrHeJ96juv7cd39wde8o5Qv0PUdy3ex81GzvrqrSXgIpS30Ndm9thEmrq4Tn7Vuxmc3SmGF9uSBTtaLCCEmKsAowO8qq+5sHN3bNvWDMqW5jfioEZKHiRHaycvhQc+EttBsKNwwHJS5lSLsprD3xuIA3vPhaN.9d5P66+C.284ARXTsjwkzgYp5.yQZQxNY0Lpo0hnqpnU.pCgYGR.Oyy4wKZlLFlZQyjEmTWxcimV1.rPg7eqt0wHrr58H4Kwv3sQu2oDRyqFX+4O+WWesNmTO2s0CG1zP8rA+eNPxJYq.aK92gu.BsBDlZp1vm8zAdRAmrk68gG6QAIXF7OHnzEaI3uzJ5Esnv5rgb.TxBeMBkz2SQaLl2nhKLJ8KsrxuUWPwklVEWdZUbkoUwUmVEWaZUr1zp35ucEUOoSi.I2MpjMBsW6siB.01dX.XAzeyI2bJX
          

          With a simple gain to [protect your ears/speakers...

          HISE Development for hire.
          www.channelrobot.com

          David HealeyD 1 Reply Last reply Reply Quote 0
          • David HealeyD
            David Healey @Lindon
            last edited by David Healey

            @Lindon drawThumbnailBackground doesn't seem to do anything.

            The only laf function that it seems to respond to is drawThumbnailPath.

            Do you have a mockup image of what you want the final thing to look like?

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

            HISEnbergH LindonL 2 Replies Last reply Reply Quote 0
            • HISEnbergH
              HISEnberg @David Healey
              last edited by

              @David-Healey if you are going to add the LAF for it that would be great! But if @Lindon wants a more immediate alternative you can pass the path to a panel and style it that way 😉

              Sonic Architect && Software Mercenary

              David HealeyD LindonL 2 Replies Last reply Reply Quote 0
              • David HealeyD
                David Healey @HISEnberg
                last edited by

                @HISEnberg panel doesn't include the controls to adjust the start and end

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

                HISEnbergH 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @HISEnberg
                  last edited by

                  @HISEnberg Lindon really needs to see the current play cursor position as well...

                  HISE Development for hire.
                  www.channelrobot.com

                  1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @David Healey
                    last edited by Lindon

                    @David-Healey said in AudioWaveForm LAF:

                    @Lindon drawThumbnailBackground doesn't seem to do anything.

                    The only laf function that it seems to respond to is drawThumbnailPath.

                    Do you have a mockup image of what you want the final thing to look like?

                    Sadly I dont - all the customer is asking for is a transparent background...

                    HISE Development for hire.
                    www.channelrobot.com

                    LindonL 1 Reply Last reply Reply Quote 0
                    • HISEnbergH
                      HISEnberg @David Healey
                      last edited by

                      @David-Healey Hmmm you may be right I would have to check the Sampler's API about that, but I've scripted all of this using the Audio Looper before (actually a custom C++ sampler but same API). I can share the script if you are interested (it's still not finished). If it's just a matter of adding a transparent background though, modding the HISE source code would be a lot easier.

                      This is all in a panel, but it's a bit buggy still:
                      ezgif.com-video-to-gif-converter.gif

                      Sonic Architect && Software Mercenary

                      David HealeyD 1 Reply Last reply Reply Quote 0
                      • David HealeyD
                        David Healey @HISEnberg
                        last edited by

                        @HISEnberg it can all be done using a panel but that seems like overkill when all Lindon wants is to remove the background.

                        @Lindon I'm out for a few hours but I'll take a look when I'm home, I think it should be an easy one for Claude

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

                        1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @Lindon
                          last edited by

                          @Lindon said in AudioWaveForm LAF:

                          Sadly I dont - all the customer is asking for is a transparent background...

                          This guy is a liar, the customer also wants to change the "yellow" colour of the offset marker....

                          HISE Development for hire.
                          www.channelrobot.com

                          David HealeyD 2 Replies Last reply Reply Quote 0
                          • David HealeyD
                            David Healey @Lindon
                            last edited by David Healey

                            @Lindon We could use drawTableRuler for that perhaps? Although it would also need to handle release and loop markers. I'll have a think on it.

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

                            1 Reply Last reply Reply Quote 0
                            • David HealeyD
                              David Healey @Lindon
                              last edited by

                              @Lindon I just took another look at your snippet, you haven't assigned the laf object to the component. But it's even better than that, to remove the back all you need to do is disable the "opaque" property.

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

                              LindonL 1 Reply Last reply Reply Quote 0
                              • LindonL
                                Lindon @David Healey
                                last edited by

                                @David-Healey said in AudioWaveForm LAF:

                                @Lindon I just took another look at your snippet, you haven't assigned the laf object to the component. But it's even better than that, to remove the back all you need to do is disable the "opaque" property.

                                nope, tried that several times earlier... the background is still there:

                                68bc4fc1-b3cc-4672-81f8-57ee446dfe68-image.png

                                HISE Development for hire.
                                www.channelrobot.com

                                David HealeyD 2 Replies Last reply Reply Quote 0
                                • David HealeyD
                                  David Healey @Lindon
                                  last edited by

                                  @Lindon hmm working here, I'll see what else I've done when I'm back at the pooter

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

                                  1 Reply Last reply Reply Quote 0
                                  • David HealeyD
                                    David Healey @Lindon
                                    last edited by David Healey

                                    @Lindon I think what you're seeing there is the overlay of the playable range, not the background of the component

                                    e4daa37d-444e-40f9-9bb8-e376bf0f299e-image.png

                                    I got Claude to provide a laf function that allows us to draw the individual markers, but it doesn't provide a way to draw the loop range or release range, I'm wondering if those should be covered by a separate laf function since not all markers have ranges. What say ye?

                                    Edit: Actually there's already drawThumbnailRange maybe this could be adapted for the purpose... this one will also hide the playable range for you.

                                    15ad76ad-239e-4930-81f1-f89dfba34dee-image.png

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

                                    LindonL 1 Reply Last reply Reply Quote 0
                                    • LindonL
                                      Lindon @David Healey
                                      last edited by Lindon

                                      @David-Healey said in AudioWaveForm LAF:

                                      I got Claude to provide a laf function that allows us to draw the individual markers, but it doesn't provide a way to draw the loop range or release range, I'm wondering if those should be covered by a separate laf function since not all markers have ranges. What say ye?

                                      I think its up to you - I'm not sure that's so important but others may think it is...

                                      meanwhile I think I will have to wait for the your PR to be actioned by Christoph as when I look at my copy of ScriptingGraphics.cpp its quite different to yours, so not confident I can manually copy it in...

                                      HISE Development for hire.
                                      www.channelrobot.com

                                      David HealeyD 1 Reply Last reply Reply Quote 0
                                      • David HealeyD
                                        David Healey @Lindon
                                        last edited by

                                        @Lindon said in AudioWaveForm LAF:

                                        meanwhile I think I will have to wait for the your PR to be actioned by Christoph as when I look at my copy of ScriptingGraphics.cpp its quite different to yours, so not confident I can manually copy it in...

                                        I haven't made the PR yet, but once I do I'll give you instructions to pull it into your fork

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

                                        1 Reply Last reply Reply Quote 0
                                        • David HealeyD
                                          David Healey
                                          last edited by

                                          By the power of Claude I've added drawThumbnailMarkers and extended drawThumbnailRange to include sample start, loop crossfade, and release ranges.

                                          This is quite a big PR in terms of number of lines of code changed. I started this before Christoph added the new workflow documentation so it hasn't been through that checking process.

                                          Here's the PR. To pull this into your own fork:

                                          • Add Christoph's repo as a remote called upstream (if you haven't already) git remote add upstream https://github.com/christophhart/HISE.git
                                          • Run git fetch upstream pull/885/merge:pr-885-merge
                                          • Checkout the branch of your fork you want to merge to
                                          • Run git merge pr-885

                                          61b25f76-c83d-41ed-a69e-63e58801ad53-image.png

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

                                          1 Reply Last reply Reply Quote 0
                                          • David HealeyD David Healey referenced this topic
                                          • First post
                                            Last post

                                          24

                                          Online

                                          2.2k

                                          Users

                                          13.5k

                                          Topics

                                          117.4k

                                          Posts