HISE Logo Forum
    • Categories
    • Register
    • Login

    Problem with more than 1 instance of plugin

    Scheduled Pinned Locked Moved General Questions
    13 Posts 3 Posters 359 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.
    • Matt_SFM
      Matt_SF @ulrik
      last edited by

      @ulrik have you tried with another DAW ?

      Develop branch
      Win10 & VS17 / Ventura & Xcode 14. 3

      ulrikU 1 Reply Last reply Reply Quote 0
      • ulrikU
        ulrik @Matt_SF
        last edited by

        @matt_sf yes I just tested in Reaper and it works with more instances

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

        ulrikU 1 Reply Last reply Reply Quote 0
        • ulrikU
          ulrik @ulrik
          last edited by ulrik

          @ulrik I ran Tracktions Plugin validation tool, it failed here:

          Starting test: pluginval / Audio processing...
          Testing with sample rate [44100] and block size [64]
          !!! Test 1 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
          !!! Test 4 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
          !!! Test 7 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
          !!! Test 10 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
          !!! Test 13 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
          !!! Test 16 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
          !!! Test 19 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
          !!! Test 22 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
          !!! Test 25 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
          !!! Test 28 failed: NaNs found in buffer -- Expected value: 0, Actual value: 128
          Testing with sample rate [44100] and block size [128]
          !!! Test 31 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
          !!! Test 34 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
          !!! Test 37 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
          !!! Test 40 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
          !!! Test 43 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
          !!! Test 46 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
          !!! Test 49 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
          !!! Test 52 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
          !!! Test 55 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
          !!! Test 58 failed: NaNs found in buffer -- Expected value: 0, Actual value: 256
          Testing with sample rate [44100] and block size [256]
          !!! Test 61 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
          !!! Test 64 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
          !!! Test 67 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
          !!! Test 70 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
          !!! Test 73 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
          !!! Test 76 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
          !!! Test 79 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
          !!! Test 82 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
          !!! Test 85 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
          !!! Test 88 failed: NaNs found in buffer -- Expected value: 0, Actual value: 512
          Testing with sample rate [44100] and block size [512]
          !!! Test 91 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
          !!! Test 94 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
          !!! Test 97 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
          !!! Test 100 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
          !!! Test 103 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
          !!! Test 106 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
          !!! Test 109 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
          !!! Test 112 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
          !!! Test 115 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
          !!! Test 118 failed: NaNs found in buffer -- Expected value: 0, Actual value: 1024
          Testing with sample rate [44100] and block size [1024]
          Testing with sample rate [48000] and block size [64]
          Testing with sample rate [48000] and block size [128]
          Testing with sample rate [48000] and block size [256]
          Testing with sample rate [48000] and block size [512]
          Testing with sample rate [48000] and block size [1024]
          Testing with sample rate [96000] and block size [64]
          Testing with sample rate [96000] and block size [128]
          Testing with sample rate [96000] and block size [256]
          Testing with sample rate [96000] and block size [512]
          Testing with sample rate [96000] and block size [1024]
          
          Time taken to run test: 176 ms
          FAILED!!  40 tests failed, out of a total of 450
          

          What does this mean, and how do I correct it?

          NaNs found in buffer
          

          Hise Develop branch
          MacOs 15.3.1, Xcode 16.2
          http://musikboden.se

          Matt_SFM 1 Reply Last reply Reply Quote 0
          • Matt_SFM
            Matt_SF @ulrik
            last edited by

            @ulrik maybe this will help, I found this in the Juce forum :
            https://forum.juce.com/t/pluginval-nans-found-in-buffer/39636/5
            And in the thread there's a github page link which explain the procedure to debug an issue with pluginval :
            https://github.com/Tracktion/pluginval/blob/develop/docs/Debugging a failed validation.md

            Develop branch
            Win10 & VS17 / Ventura & Xcode 14. 3

            ulrikU 1 Reply Last reply Reply Quote 1
            • ulrikU
              ulrik @Matt_SF
              last edited by

              @matt_sf great, thank you very much! :)

              Hise Develop branch
              MacOs 15.3.1, Xcode 16.2
              http://musikboden.se

              ulrikU 1 Reply Last reply Reply Quote 0
              • ulrikU
                ulrik @ulrik
                last edited by ulrik

                @ulrik still having problem with this
                I think I've fixed the Nans in the pluginval, either it was because of 2 missing "breaks" in a switch statements or,
                which I think is the real issue, the missing of isDefined(value) in several knob control callbacks (all knobs and buttons are panels)

                I discovered in Logic this:

                Skärmavbild 2022-01-26 kl. 12.19.12.png

                Ok it is successfully validated but the version check shows "invalid" ??

                So I opened up 2 instruments "project_info.xml" files and compared them

                Skärmavbild 2022-01-26 kl. 12.23.20.png

                Does these findings mean anything to the issue I'm having?

                Hise Develop branch
                MacOs 15.3.1, Xcode 16.2
                http://musikboden.se

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

                  @ulrik said in Problem with more than 1 instance of plugin:

                  all knobs and buttons are panels)

                  Not that I think it will fix this issue - but why are you using panels for controls and not LAF?

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

                  ulrikU 2 Replies Last reply Reply Quote 0
                  • ulrikU
                    ulrik @d.healey
                    last edited by

                    @d-healey said in Problem with more than 1 instance of plugin:

                    but why are you using panels for controls and not LAF?

                    I need the contextual menu...

                    Hise Develop branch
                    MacOs 15.3.1, Xcode 16.2
                    http://musikboden.se

                    ulrikU 1 Reply Last reply Reply Quote 1
                    • ulrikU
                      ulrik @d.healey
                      last edited by

                      @d-healey No thoughts about the issue? or about the difference between the 2 instruments and why Logic says "invalid" on version number?

                      Hise Develop branch
                      MacOs 15.3.1, Xcode 16.2
                      http://musikboden.se

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • ulrikU
                        ulrik @ulrik
                        last edited by

                        @ulrik said in Problem with more than 1 instance of plugin:

                        @d-healey said in Problem with more than 1 instance of plugin:

                        but why are you using panels for controls and not LAF?

                        I need the contextual menu...

                        Actually it would be nice to have the "menuItems" opportunity on sliders as well :)

                        Hise Develop branch
                        MacOs 15.3.1, Xcode 16.2
                        http://musikboden.se

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

                          @ulrik said in Problem with more than 1 instance of plugin:

                          @d-healey No thoughts about the issue? or about the difference between the 2 instruments and why Logic says "invalid" on version number?

                          If I did I would have mentioned it :) I don't do much stuff on MacOS and so far haven't run into any issues like this.

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

                          ulrikU 1 Reply Last reply Reply Quote 1
                          • ulrikU
                            ulrik @d.healey
                            last edited by

                            @d-healey Ok, thanks!

                            Hise Develop branch
                            MacOs 15.3.1, Xcode 16.2
                            http://musikboden.se

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

                            20

                            Online

                            1.8k

                            Users

                            12.0k

                            Topics

                            104.1k

                            Posts