HISE Logo Forum
    • Categories
    • Register
    • Login

    Scrolling a Viewport crashes compiled plugin....

    Scheduled Pinned Locked Moved General Questions
    70 Posts 5 Posters 3.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.
    • DanHD
      DanH @Lindon
      last edited by

      @Lindon just delete the dll and try to open the project, so it's not trying to use the dll but reverting to the scriptnode networks

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

      LindonL DanHD 2 Replies Last reply Reply Quote 0
      • LindonL
        Lindon @DanH
        last edited by

        @DanH said in Scrolling a Viewport crashes compiled plugin....:

        @Lindon just delete the dll and try to open the project, so it's not trying to use the dll but reverting to the scriptnode networks

        Ah yes - thanks - that gets me to a loaded project in the New HISE...

        HISE Development for hire.
        www.channelrobot.com

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

          @DanH once you're into the project try building the dll. Expect it to fail. Close HISE and open the AutoGen dll project. Build that in VS. Open HISE

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

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

            @DanH wow well done Dan, that worked....

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon told ya 😆

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

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

                @DanH said in Scrolling a Viewport crashes compiled plugin....:

                @Lindon told ya 😆

                Right built the plugin - loaded it into Reaper - crashes...

                now to build using Dan K.'s video tutorial...

                HISE Development for hire.
                www.channelrobot.com

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

                  Okay I think I may be getting somewhere....

                  So I THINK I'm getting an access violation on the paint of the SAmplerSoundWaveform:

                  c3a7cbae-7930-47d6-b271-252a58759054-image.png

                  But if I sound clueless - I am - but it keeps coming back here no matter what I do...

                  HISE Development for hire.
                  www.channelrobot.com

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

                    @Lindon Ok so I took out the AudioWaveform controls - and the plugin works fine - so there's a bug in the rendering of this control I think...

                    @Christoph-Hart !!! Help!!!

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                      so there's a bug in the rendering of this control I think...

                      Are you using a custom look and feel for the audio rendering?

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

                        @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

                        @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                        so there's a bug in the rendering of this control I think...

                        Are you using a custom look and feel for the audio rendering?

                        nope - everything else just about but not that.

                        I am redrawing them(changing their colours) a fair bit though to reflect their position in the XY pad space...

                        HISE Development for hire.
                        www.channelrobot.com

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

                          @Lindon like this:

                          https://u.pcloud.link/publink/show?code=XZoSaX0Z0zLfrHlvhnRYNSFRFl8NHFdDKFJ7

                          HISE Development for hire.
                          www.channelrobot.com

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

                            @Lindon OK well I tried a custom LAF and that doenst fix this issue.

                            It seems to crash every time I've played a note (and thus set the play head somewhere) and then I scroll thru the list of voices -- I have no idea why its doing it at that point.... I can (obviously) let you have the project if you want @Christoph-Hart

                            HISE Development for hire.
                            www.channelrobot.com

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

                              @Lindon can you dumb it down to a minimal example or is it only happening with your project?

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

                                @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

                                @Lindon can you dumb it down to a minimal example or is it only happening with your project?

                                Ill try and get it down to something manageable...

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                                  @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

                                  @Lindon can you dumb it down to a minimal example or is it only happening with your project?

                                  Ill try and get it down to something manageable...

                                  Well frustratingly I cant reproduce the problem in a simplified project....

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                                    @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                                    @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

                                    @Lindon can you dumb it down to a minimal example or is it only happening with your project?

                                    Ill try and get it down to something manageable...

                                    Well frustratingly I cant reproduce the problem in a simplified project....

                                    its maddening.... I can open the UI, open the viewport and scroll away, and select items... and everything works correctly... I play a note, open the viewport , scroll any amount - and the system gives me the "circling- busy mouse icon" and it crashes...

                                    HISE Development for hire.
                                    www.channelrobot.com

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

                                      @Christoph-Hart - there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...

                                      HISE Development for hire.
                                      www.channelrobot.com

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

                                        @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                                        there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...

                                        Yes it communicates to the audio thumbnail class which range to create a path for and spawns the waveform calculation on a background thread.

                                        Alright, send me over this bad boy and I'll try to reproduce it. If you can limit the amount of samples I have to download or remove some parts that don't affect the functionality it would be great.

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

                                          @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

                                          @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                                          there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...

                                          Yes it communicates to the audio thumbnail class which range to create a path for and spawns the waveform calculation on a background thread.

                                          Alright, send me over this bad boy and I'll try to reproduce it. If you can limit the amount of samples I have to download or remove some parts that don't affect the functionality it would be great.

                                          found it I think --- the viewport works fine for a hundred items, but crashes everytime when I add in all 1500 items.....

                                          HISE Development for hire.
                                          www.channelrobot.com

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

                                            @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                                            found it I think --- the viewport works fine for a hundred items, but crashes everytime when I add in all 1500 items.....

                                            nope now its working fine... grrr...hang on chasing down a couple of other possibilities - if they dont pan out it will be over to you...

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            11

                                            Online

                                            2.0k

                                            Users

                                            12.7k

                                            Topics

                                            110.2k

                                            Posts