How do I create a matrix modulator for a given slotFX/HardcodedMasterFX instance?
-

I've got this far. What I want to do is create a matrix modulator for the first 8 hardcoded modulation slots.
-
It doesn't seem like slotfx or hardcoded support the .addModulator() method.
-
Figured it out. It does support addModulator. This is how you do it:

Content.makeFrontInterface(600, 600); const var builder = Synth.createBuilder(); builder.clear(); const var generator = builder.create(builder.Effects.SlotFX, "generator", 0, builder.ChainIndexes.FX); const var slotfx = Synth.getSlotFX("generator"); slotfx.setEffect("Hardcoded Master FX"); const hardcoded = Synth.getEffect("generator_Hardcoded Master FX"); const numP = 4; for (i = 0; i < numP; i++) { hardcoded.addModulator(i, "MatrixModulator", "P" + (i+1) + " Modulation"); } builder.flush();