Forum
    • Categories
    • Register
    • Login

    Matrix modulation connection is broken in exported plugin

    Scheduled Pinned Locked Moved Bug Reports
    42 Posts 5 Posters 1.7k 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.
    • ustkU
      ustk @Christoph Hart
      last edited by

      @Christoph-Hart AI said that it was initillay because Hise already prepared all the processes (or something like this) so modules are well ready to work.
      But exported plugins needs to do it at init so prepare to play was not ready yet (or reset with bad samplerate) when the modules are initialising, if it ever make sense to you...

      Hise made me an F5 dude, any other app just suffers...

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

        @ustk ah yes sure, now I'm back on track. Let me just check the current example as exported plugin, but I checked this exact setup back when I fixed it last week.

        ustkU 1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @Christoph Hart
          last edited by

          @Christoph-Hart I expect your binary to crash if you don't have samplerate fix from above. Or something is definitely weird...
          I you need I can provide you with my project.

          Hise made me an F5 dude, any other app just suffers...

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

            @ustk no my test never touches that codepath. I'm loading a compiled network in a hardcoded fx - all your changes are modifying the script FX modules. What's your exact setup?

            ustkU 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @Christoph Hart
              last edited by ustk

              @Christoph-Hart Mmmm... Maybe because I am still using a basic ScriptFX in the project that I don't compile (but I can compile it and use it in a hcfx) that the crash happens without the samplerate fix. I'll try to place it in a HCFX to sse if it's at least stable without the fix.
              But yeah that's not related to the HCFX module thing

              The setup is:

              • FXs are hardcoded modules
              • They make use of NUM_HARDCODED_FX_MODS=8
              • Extra mod slots are receiving a matrix modulator
              • UI components have a matrixTargetId set to the corresponding matrix modulator name of the corresponding hcfx

              In the networks:

              • there are extra_mod nodes set to the index of the extra mod slot
              • Corresponding network parameters have their ExternalModulation property set to Combined

              HCFX modules are bypassed from UI buttons.

              So at init, the state of the project has been saved with the init preset, that has all modules unbypassed by default. Then other presets are bypassing/unbypassing the modules as you load them. It's only when a module has been cycled bypassed/unbypassed at least once that is actually able to modify the sound

              Hise made me an F5 dude, any other app just suffers...

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

                I'm testing pretty much this setup:

                1. global mod => LFO
                2. hardcoded FX in master chain with network:
                  • 1 parameter, set to combined
                  • modulates a osc.freqRatio
                  • extra_mod slot has a MatrixModulator connected to the LFO
                  • no preset, nothing, just the default state

                Load VST3 instance => pitch wobbles. Before the fix it didn't.

                ustkU 3 Replies Last reply Reply Quote 0
                • ustkU
                  ustk @Christoph Hart
                  last edited by

                  @Christoph-Hart Are you exporting an FX or INSTRUMENT?

                  Hise made me an F5 dude, any other app just suffers...

                  resonantR 1 Reply Last reply Reply Quote 0
                  • ustkU
                    ustk @Christoph Hart
                    last edited by

                    @Christoph-Hart Any snippet for me to test out?

                    Hise made me an F5 dude, any other app just suffers...

                    ustkU 1 Reply Last reply Reply Quote 0
                    • ustkU
                      ustk @ustk
                      last edited by ustk

                      @Christoph-Hart I've made this simple snippet and it doesn't work. Not from UI parameter, not from LFO...
                      What did I do wrong? 🤔

                      HiseSnippet 1946.3oc2Y0rbibaDFinfVsZW63s104PpbfGksWqZFpgTRUNXt5OaVdoDsHsbpjCJPy.RhRy.LYFvUhNUtma4UxOB4IHUdDxafciAyOXjHszxUVdKSUEKBz.n+Pit+5FP8hEdzjDQLxZsASinHqmh6OkKGu2XBii5rOx5CwRZhrgciV1MscQ6NMhjjP8QVV09R0Xrd7xnzO++uXWR.g6QK6BgNUv7nulExjk8F09qYAAGR7oCXgFi1scGOAeOQfXBfmZXaTDw6BxH5QD0vVBi9JRxXj0mh8caQItt9dzFCota277s1bys8Z4Z6a2pAsYqgD6la4NzEYsxA9LoHtuj.6Bj0x6J7m1er3RtVAmxRXmGPUMbP8AMq69PQfuZKp5Es2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XyEchsVzIt0hNwsu8IppSH6V6p3TDpauCzz6VE4VfJ99If8wJvB
                      

                      Hise made me an F5 dude, any other app just suffers...

                      ustkU 1 Reply Last reply Reply Quote 0
                      • ustkU
                        ustk @ustk
                        last edited by

                        @Christoph-Hart Nothing that I can test make it work, using develop branch. (note that it crashes with develop when a scriptFX is present in the tree)

                        A macro or a flag I missed perhaps?

                        Hise made me an F5 dude, any other app just suffers...

                        1 Reply Last reply Reply Quote 0
                        • resonantR
                          resonant @ustk
                          last edited by

                          @ustk said in Matrix modulation connection is broken in exported plugin:

                          @Christoph-Hart Are you exporting an FX or INSTRUMENT?

                          I have the same issue on the exported fx plugin and reported a while ago: https://forum.hise.audio/topic/13977/modulation-matrix-fx-plugin-crashes-in-daw?_=1777946560667

                          1 Reply Last reply Reply Quote 0
                          • ustkU
                            ustk @Christoph Hart
                            last edited by

                            @Christoph-Hart Another strange behaviour, I am currently trying with AU export, which is working aside of the current problem we are trying to solve. I guess it's related to MacOS (me) vs Windows (you?)
                            But that same snippet exported as VST3, and ableton live says:

                            Screenshot 2026-05-05 at 15.22.24.png

                            Screenshot 2026-05-05 at 15.19.39.png

                            Hise made me an F5 dude, any other app just suffers...

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

                              @ustk Could all your problems be related to this juce 8 thing?

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

                              ustkU 1 Reply Last reply Reply Quote 0
                              • ustkU
                                ustk @David Healey
                                last edited by

                                @David-Healey Perhaps... But I am JUCE 6... Or schizophrenic... 🤷♂

                                Screenshot 2026-05-05 at 15.33.51.png

                                Hise made me an F5 dude, any other app just suffers...

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

                                  @ustk Why is xcode referencing 8.0.3

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

                                  ustkU 2 Replies Last reply Reply Quote 0
                                  • ustkU
                                    ustk @David Healey
                                    last edited by

                                    @David-Healey To this day I have no answer for this...

                                    Hise made me an F5 dude, any other app just suffers...

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

                                      @ustk Definitely only got one copy of the source?

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

                                      ustkU 1 Reply Last reply Reply Quote 0
                                      • ustkU
                                        ustk @David Healey
                                        last edited by

                                        @David-Healey yes, always had (custom branches but one folder/repo)
                                        Also I just re-aligned develop origin onto upstream to be sure (I had some merge commits because of past manual fork syncing) but no changes regarding the issue and the VST3 crash.

                                        Hise made me an F5 dude, any other app just suffers...

                                        1 Reply Last reply Reply Quote 0
                                        • ustkU
                                          ustk @David Healey
                                          last edited by

                                          @David-Healey said in Matrix modulation connection is broken in exported plugin:

                                          @ustk Why is xcode referencing 8.0.3

                                          After analysing everything, AI confirmed Hise is built and running on Juce 6, and it says:

                                          The assertion you hit is most likely thrown by the JUCE-8 plugin's code (in the v8.0.3 message thread), not by HISE's JUCE 6.

                                          Since I am debugging using pluginval which is built on Juce8, that's 99% the origin of XCode reporting Juce8 message thread

                                          Hise made me an F5 dude, any other app just suffers...

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

                                            @ustk yup that's the plugin host telling his version number.

                                            I tried to load your snippet, but the hardcoded FX is empty (of course, I don't have compiled your network) - is it just the script_fx network in the Script FX that I need to compile?

                                            This looks remarkably equivalent to my snippet though (which worked).

                                            ustkU 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            5

                                            Online

                                            2.3k

                                            Users

                                            13.7k

                                            Topics

                                            119.2k

                                            Posts