Envelope Modulation in Hardcoded FX....
-
So , assuming you have
NUM_HARDCODED_FX_MODS set to at least 1 then you should be able to assign a modulator to the first param of a Hardcoded Master FX, lets assume this is a sort of filter, and param 1 is frequency.....
..now lets assign an envelope to Freq like this:
HiseSnippet 1506.3oc6Z0saaaCElJNrqI8+sTrghM.MrcQJZQQjSW2eWT2XG2ZT6Di3ze.1.5XjnsEhDolDU5BFFvtX22Wg8hLr9.zK1dC586lBrGfsCEksnbbSbbR7RZmuvv7bNj567KOjxMC41znHdHxXl02NfhLNKt01LQ2xcItLTsJHiyiaPhDzPSEok1NfDEQcPFFEtqjfwLSiR97pauDwivroYjPnGxcso0c8cEYTaV59tddUINz0c80j9lkpYyYk4d7X.OEvKfBH1aR5PWgHEaJLx3TK63J3gsDDAMBYL8Rbmsa0k+TlR9G5F4tgGUNvB0BVHE4pbOGIhk+FUtqqmSyd5cDBVzlYVgBJqvb3FtNt8omYMtXBCyrYnaOLlJO7JjCdVuN3MDHYnAooUP5R3V1gtAhLNR7bFbMF3bZS.ytNTTxhLdNtLGDfItgOYSZ0PXP+IL+sVXgqaBec0utcLyV3xYlb1JbAcU17Wc1eb1Yl8ml0bPVsaOTdxGSH2yiFNT1ROc3tMw4Yw9aPCut4VDuXZeAA0OuM8TilM0Vo0ZBxY0XthUCnoiyBJrFhG.kZ1fe8fZUHBhzojRCjKfFJbkvwnBcKHBW4hlAWgFsofG.w36v+AQNbmXOhHe3jLGJkAXOx4CkNJVjqXa8brAiwl90aOVXno.CUaGQ3dIbSWgc2gi2oFBdAq1QMdSyXOGd41so1hLvNMt5i20zyCcnbZETtB9td7MHdYFPHtAPEUkx9QorM6y2ru.V6R80+XTquFLx0WMJbXUvZ5ipZnSz362aGtlnC0Lx8wlRSoA4KofLFWu5poVP3WYfzZuA4RtAbORnje0P52GSY1Z7uXIYzRsdAae2yV5iK8HxVz17P+zRa8Wo5zNvyTmx5T+.Nz0fsNwV9btnqKqS9XPDpNmGrLi.VDGc4a1kDI2bIhJzkV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
So the problem here(of course) is that the envelope is monophonic, so every time you press a note the envelope restarts - so in effect - esp if pressing lots of notes fairly quickly - we get notes being cut off, sort of the same for LFOs (but usually less noticeable)...so for filters this is practically unusable...
So easy solution - take your filter scriptNode and rebuild it as Polyphonic.... BUT:
..there are no FX_MODS for Hardcoded Polyphonic FX, so whilst your Filter acts nicely for played notes, there is no way to assign external modulators to its parameters...... so you have to go down the long and painful road of building any and all possible modulation sources inside your scriptNode, and frankly thats a royal PITA, never mind being a country mile less flexible and usable....
so my feature request:
NUM_HARDCODED_POLY_FX_MODS=n
please....
-
Does this help?
-
@d-healey oh hang on I'd forgotten about that?
-
@Lindon good grief yes! - ok, where did I put that t-shirt????