Matrix modulation connection is broken in exported plugin
-
@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?
-
@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 thingThe 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
matrixTargetIdset to the correspondingmatrix modulatorname of the corresponding hcfx
In the networks:
- there are
extra_modnodes set to the index of the extra mod slot - Corresponding network parameters have their
ExternalModulationproperty set toCombined
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
-
I'm testing pretty much this setup:
- global mod => LFO
- 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.
-
@Christoph-Hart Are you exporting an FX or INSTRUMENT?
-
@Christoph-Hart Any snippet for me to test out?
-
@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.g6QK6BgNUv7nulExjk8F09qYAAGR7oCXgFi1scGOAeOQfXBfmZXaTDw6BxH5QD0vVBi9JRxXj0mh8caQItt9dzFCota277s1bys8Z4Z6a2pAsY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ndw0UD+fnvPhWr3LO8ilphpVMsGvHvSug9igB+f10q9OoPWyAjH5LOupK0MlXiEchatnSzcQmXyEchsVzIt0hNwsu8IppSH6V6p3TDpauCzz6VE4VfJ99If8wJvB -
@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?
-
@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
-
@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:

-
@ustk Could all your problems be related to this juce 8 thing?
-
@David-Healey Perhaps... But I am JUCE 6... Or schizophrenic...


-
@ustk Why is xcode referencing 8.0.3
-
@David-Healey To this day I have no answer for this...
-
@ustk Definitely only got one copy of the source?
-
@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. -
@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
-
@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_fxnetwork in the Script FX that I need to compile?This looks remarkably equivalent to my snippet though (which worked).