Envelope table - global mod bug ?
-
I get some strange behaviour with this setup :
Global Mod Container >
Table EnvelopeContainer >
Sinewave > AHDSR> Filter > Freq Mod
Waveform> DefaultEnvelope> Filter > Freq ModSo essentially one global table which controls 2 different filters on 2 separate sound generators. However, it doesn't seem to be fully responsive when their is an AHDSR envelope in the chain. Is this a bug or am I not understanding something here with regards to polyphony or the nature of the AHDSR?
Here is a snippet, compare the filter response in both of the waveforms.
HiseSnippet 1486.3oc6Zs0baSDEdUR1RRZaRaoWYfYzCkYZGJchMkxsGpSchaxPRrSTRKuU1JuNdox6JjV4hGFdm23ODOzeBLCuyvOg9O.NqVIKIaiihat4h8Cd7d1K5rmqemibMOgM02W3gLla2NtTjwEvVc3xlkaRXbz5qfLV.uIwWR8L0jdbGWhuOsNxvX5mnHXL2LnvOu4QOl3P31zDRHzSELa5FrVLYB0Zk9VliSERc5trVoV8CJstsfWV3HB.9YZ7RHWh8KI6S2hnV1TXjw4VsNSJ7rjDI0GVyiE06X0T7Jtd8Ok4ydgCUMn.xBNHMYT4lLm50huq9H3fpkbymVeyuJdSVcVW5IRfKENgYxNRKCLlZXrTgCAKYjhklQyRWFaY6wbkIyn3myiWmCJjFDPTmlUzqEY7ZbYAr.t79sHujVwCFzcC24gKsz8Lgut62zHfaKYBtofukPRqxuycm+mmet4+k4M6cpFMF3bpGimvwg5MvoUZWugsw6vCZ8Bp28LaSbBncWHb8yJSOW9jo15acpEJ3qyYxptznwUDN0UxJ0u6WCfhDavu1a8UHRhRoDQCVmK0SxTriwJz1fUsVEMGdEp+KkBWvttO8GX4HpG3PjYMmT9MQS.xiL5Pkhh6yjcR6WcHrwVZn1X4kEuLtFSZ2bv73TCfGAI0wAOF4YdQ7pMZPskIL3L3Je2n5Fl+G+r5G+Gfehi3EDmDAEXS.bBU6N9QQSa1cdytKnvPhW9G4MdoatiWZL8QUvnYNEhOdzX6998oN7OA8vxDE+7Z1bQ7tDXyqxaScfnHQdXgzLiIl0PYSAW31TvY1osM1gJ8X6uO0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aiEG0M9Yi5FevntwOeT23CG0M9Ei5F+xCdipZlVNPJZo8+fhKqspNQngttxPWQz+BMsQ8mB
-
@HISEnberg I didnt load your snippet but I assume its because the combined modulation of Global Mod + Envelope isnt ever going to give you 100% of the Global Mod - unless you set the envelope sustain to 100%...
-
@HISEnberg Forgot to mention, this issue persists with the
Synth.setUseUniformVoiceHandler()
, the snippet was meant to just show the problem. -
@Lindon Just to explain further.
The
global table envelope mod
controls the cutoff frequency of two filters.Sinewave1
has an AHDSR envelope.WaveformGenerator1
has a Default envelope.So the envelopes operate independently of the global modulator, I only included this to show the difference in behavior I am receiving on the filter modulation.
Here is an example with 3 FIlters, 1 SinewaveGenerator and 2 WaveformGenerators. The buggy behaviour actually only happens on the the Sinewave.
HiseSnippet 1681.3oc6as0aaaCEVJ1rs1sMcsqWG1.DJ5.Rw5JrcurKcC0owwMAKo1IJocu0wHSGSTYROJJ2YLrm29GMfg8P+ArGFvddC6mP+GrQRIYIk35p4awNy9ACyCunOd34b34ihtJiZgbbnLM8L6zoERS+L.yNDdiUZ.wDs0KooeVPYrMGwJg1ycesG0oEzwAUSSWO0ikMQOSZM0mW+vGAsgDKTnHMsmRwVnMvMw7PoUK9UXa6xvZncvMiz56VbcKJYEpM0U.mTfbZsfVu.tO5IPYyV.noehUqg4TlIGxQNZ5oeDsVGyFzWR7Z+SwN38rQxB40LECjm3xT6ZRDKkpsRCrcspASaGMwfVMTIjxSIbQvl3Z3txCUFuipBivdDUenuPb3kJF7xGEd4h.ud.I8HPJsGjNOvzhgawCqQhmSCVmHVapCEp8nPwqsZKjSGrBUzBB+1Mgu.UlIJzsGKc+b4tkg3qa9frYEpdGtQaHyP1Aw7Ewxa7kFJigauOhq.opzRWOrEWWzUul3f365f1kfqSYMUK6qAI0rQrXM+VFblK5lOntKwhioDCJ4ITNpBYoal86ylI6Oj03fUUudOqSNnLps7AzqpklVr90wkHtM2CwtkXJaKPTPCE563Khf27hXTaLKOsbjFRIqSv7JsPj2jkml+Ri3W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TlO5Hef5JDOgctKIdy8DEqUxoWYwzKR6NUw.gEhJrJjDavDkiMRaJWlBJ92ObUhLdgIRLapUwwRLYUg.iX2T001A8LbMdi7Q6Xn3BQEuFjIe4pVGMbZOwbNsSVNsE9eBmVwnebfS6X+8FNr7XG6.b33tN1g2PyWcBrBObbTOZuBFy4k1GdoElyKcVlWZg47RmyKcNuz+ioZK3CM6.2q.DbzJXn1fy3neGtoWx+ElS9eJk7eBuYkwY.Go8yD268YMl9YBvnItYqCbIKuffwTcnqMeb9drCkbwCe0JuQwMD4P.YiO525I95FFg9swr6MQ+38ULb.n9bmwJ0mu4W94+b44TeFeTetybpOyo9Lm5yDl5yXeOrQFcmo6aq9wkmQSnEi9bKu+VhxP7mRIQnaIp+3qY.aJKajWS8WUL5BVSQR4O2xJ9PcnNVXP63cFzNd2Asi2aP638GzN9ICZG+z2dGkblV1kSa54+IHRVcUuMB083PpbE09W6NKRGB
-
-
-
@HISEnberg
There have been issues using envelope modules in the Global Modulator Container and the last time I tried this approach I gave up, I couldn't get it to work as it should.
Maybe @Christoph-Hart could give an answer -
@HISEnberg -yeah what Ulrik said, Global Envelopes dont seem to work well for me either - so I use local ones only...Global LFOs work fine though...
-
@Lindon @ulrik Thanks guys. I will try somethings in scriptnode though I don't expect such different results. Will post here if I find a solution.
Usually I wouldn't mind but my project is fairly dependent on having one global table envelope. I tried cheating by linking ScriptTables together but this was also causing crashes in HISE.