Envelope or filter trigger problem
-
Hello everyone, hello @Christoph-Hart :-)
I have the following setup:
A synthesizer group with a waveform generator and a filter effect in the effects section of the synthesizer group.In the grain modulation of the synthesizer group, I have an envelope, and in the frequency modulation of the filter, I also have an envelope with an attack set to 373 MS.
Above a certain release length of the gain envelope, it seems that the filter envelope is no longer triggered when I play notes in quick succession. The filter cutoff is then not turned up slowly but is always played at the maximum value. However, when I look at the filter envelope's own plotter, it looks as if it is being triggered normally. But the signal does not seem to reach the filter.
Am I doing something wrong here? It doesn't matter which envelopes are used. It happens with Simple Envelopes, Flex Envelopes, and even with a Matrix Modulators (the envelopes then come from the Global Modulator Container).
If I'm not doing anything wrong, it's not really possible to publish a plug-in with HISE that has separate envelopes for gain and other effects. But maybe I'm making a mistake or there's a workaround.
It also doesn't matter whether I use HISE's own filter or a filter via a hardcoded effect.
I've created a short video that illustrates the problem (please watch with sound):
https://youtu.be/Kk3mpRisnc0?si=eFrhfld-LeROpwf0Here is a minimal snippet that illustrates the problem:
HiseSnippet 1490.3oc6Y0sbSbCEVaRDfCP.5PKz61KgNzNwN+ASufMINljgXhIaHzdSYT183XMrqzVsZCwsSut8t9Hz2f9JTdD5L85NCOB7FPk101q1XShwMYRBC9BOiNRGouyQG8cNZUCA2Chi4Bj0ja0NBPVWA61lIasbKBkgVqJx5R3UX6sTxtnkZGQhiAejk03OR2qUoIPo+d6CWhDPXdPtHDZaN0CVmFRk4Ra37XZPPMhOrEMzXzy5rlGmsLOfmnPx33oQQDuWR1EdBQOrwvnUIwsPVeEdglyPletly3s.LaEfP72Yt4ef+NyTd9El49vrdDx8maVuYe.x5Bq3SkbgqjHgXj0DKw8a61h+JV1BrMMltS.naTF4pV4Lw03A9ZSTKEsbKZfeittnXDxB2H2gMdlC6l35TeZO44Ntqm1gctFlNPqwJBuwK.uxlvaZC3M.HYY.oIxfzMvtdBZjLuGMdtLdMlDDMIp8ISnjMVj0qwKyUCfI+lPxKgZBUidJbm4md56Yq96teayDlmjxY1b1S3RXC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SQ1mm1tIWDZ+HfABMtOrh496i+agugmTAgsDDVbDOVUehwL6Bgzs3LHtfzCnQkApQkhEgniNJ2unBiR6JpobEFi6RNcEVwTXCBqvjoZWXlpS22r.irOzP1k52H1S4Xz9Yy87FIAwvyo9xVkMULWbESwqRD9p8vB0rcx7oAtvm9z.e5Nlmp6hpiRmsy8bKr5HcE6zsR6Sm8xM4IRJa25D001zO2vSRBcU7qdfBkLFDneXHqwzecyr1SqamwVx7Sa7N0uNcVV21pSmk614GMqQHwSvegW1aPoo3tTpDkukk9vqkv00ssO3KWo9Epn2dgmWwopOEqLpJNynp3riphyMpJN+np3Biph2+nUTm8YwDIOL67mJKbiURerPKqrDvoGEQ+GL4A2YGAll the best
OliPS. It shouldn't be the reason, but I think I'm using commit c49bcf3 from January 21. Unfortunately, HISE doesn't show me any commits, but I'm pretty sure I'm using this commit.
-
@Oli-Ullmann weird looks like a regression and it only happens if you replay the same note. I‘ll take a look later.
-
@Christoph-Hart
Great, thank you very much. Since it concerns fundamental modulation, I think that's an important one. -
@Oli-Ullmann Can confirm your issue. It sounds rather similar to what I posted here (minus the noise about global modulation). I.e. Filters + Envelopes break down in a polyphonic setting in HISE.