HISE Logo Forum
    • Categories
    • Register
    • Login

    Strange behaviour when loading plugin in host

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

      Further explorations:
      Opening the plug in Reaper I'll get the same error message (both for au and for vst3 version)
      Same with DSP-Quatro (au version)
      Opening in Steinbergs Vst3PluginTestHost and in Dorico 2 is working with no error messages (vst3 version)

      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 Anyone having a clue what's going on?

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

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

          Are you using MIDI files in your project?

          It seems like you've passed an empty string into the loadFile() method, but it's weird that this doesn't fail consistently.

          ulrikU 2 Replies Last reply Reply Quote 0
          • ulrikU
            ulrik @Christoph Hart
            last edited by

            @Christoph-Hart Yes I am, but no midi file named .mid only (as it says in the message)

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

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

              @Christoph-Hart Could it be this code that make this happen:

              const var DemoSongsArr = ["Bel viso", "Lorda mornar", "Sakkijarven polkka", "Vals i natta", "Miss Karting",
              "Marias vinter", "Pigornas tango", "Nocturne", "Kass theme", "Libertango", "Hej va de gar"];
              
              MIDIPlay.setFile("{PROJECT_FOLDER}"+DemoSongsArr[value]+".mid", true, true);
              

              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 Comment it out and see if it works ;)

                Or use Console.print(DemoSongsArr[value]+".mid");

                To see if it's the expected file name.

                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 Haha, beautiful David, I used the "Console.print(DemoSongsArr[value]+".mid");" and at initialising I have nothing chosen in the combobox so it looks for ".mid" :)
                  So I guess I have to set a default value for the combobox when init, right?

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

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

                    @ulrik said in Strange behaviour when loading plugin in host:

                    So I guess I have to set a default value for the combobox when init, right?

                    Or check if the value is 0, which means no selection.

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

                      @Christoph-Hart @d-healey Thank you both, now it's solved, I saved the project with a value assigned to the combobox! :)

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

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

                        Console.print() - the most important function.

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

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

                          @d-healey true, true, true.....
                          I just have to remember that :)

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

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

                          11

                          Online

                          1.7k

                          Users

                          11.8k

                          Topics

                          103.1k

                          Posts