Table envelope release doesn't seem to work properly
-
I have a table envelope with the first part of the attack being silent. If you release the key before it gets to the sounding part then even though it goes into the release section the volume meter never rises above -100dB
In this second one I've got rid of the silent part and increased the entire release section to 0dB. However you'll see that when the envelope hits the release section it's -15dB. There are no other gain modulators active in the chain.
It seems like it might function a little better in monophonic mode, but that has other issues...
Also tried using the scriptnode examples (https://github.com/christophhart/hise_tutorial/tree/master/ScriptnodeHiseModules/DspNetworks/Networks) but they seem glitchy.
-
@d-healey both are just multiplying the signal. The attack table stops progressing when you release the key.
So if you never made it to the top of the attack that's gonna be the base value that then gets multiplied with the release table (which is also 0-1).
-
@aaronventure Aha ok, that makes sense. I'll see if I can find another solution to the problem I'm having.
-
-
-
@d-healey you need a scriptnode network that has two tables just like this, outputting that to the gain parameter of gain node.
Trigger the table value with a ramp, which you are triggering with a resetter, which you are triggering from the script note on. This will make sure the ramp is reset each note on, but doesn't stop on release (which would happen if you plugged in an envelope or it's gate output), so the attack will always play through to the end.
-
@aaronventure Could you elaborate on this idea? I don't think I'm quite following, this is what I have so far
-
HiseSnippet 2471.3oc2ZsraajbEsojJ8fxNy3D67BYQsHAiDhFFQYmISvrvTRTxCwLRhPTic7lQS4tKRVgMqpQ2UKYkf.DDj8Y8rJYY9Exp3Og.jef7CD.+Gjbqp5GUSQQ0VlRi7HCSv5Vut08woN2lc6PgKMJRD5TYoiNKf5T4NnNmwk82tOgwcZ0zox2AsGIRRCwFQacV.IJh54ToxrOQInxRy4n+60OdKhOg6RyE437TAyk94rgLYtz1M9Llu+tDO5QrgVi9QMZ4J3aK7Ewf9LKZcm.h6.RO59D0vlA4TY9c7XRQXGIQRibpL2VBuy5zWbJ2L9mxhXuvmpZT2oCrPFw6J78TZrRpy18Y9dsSO2QNNUPsysByZrB2GsGyikIO2Z795Nv4yv1dTYlhp2rETu51p25Vp2XToJVpzbFU5dnNtgr.YdOJ8YYTKN3b5R.ytspXFqSkWg1V.CfKqMjLftaHzHaBq7Qqu9ZX3iU+jtwbWISvw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Qf3mg13Q0x96WuM7wIG.ez8mmI7jCbdGffgwFUvsc2L2lpqR5t5kVwDyb28KTnPZnI0E8FPojtxQhx3g.LG79swQf9kvEI8Y7XgZsx5eX8Uu5vNHDwy6FDsYJ3lt9UDqzgK4xuIi275+4autfPaBNnI7PQxeVDyavmbgvpvQvbtCBz490zcU1X2eAZa0vwTfl6Yx9v8q.sVHBjhWgVqWMy0dvHFnYetp8itclBQiWX5972vwQEyvUA9ELRUMFIk7RZh9wnMCfnDcNYWFG33m9vfcJqM3VCj26ghT+tExi0UmNxSJ+GZ+jxsGUoqWdOx.JNJNzP+BlrcIwlxjhT+fvP8VI7uBywG8DbZsIZRmYxgUe4qNuIc+W8lQFZYzQ8CoQ8gv7QMqO+U2.OezEQaBn2mPmTs.S1tT3ALO8qfxZpe1G+vi+yMF8WBX7WAk7vIKbGTgBwbF8LjSB5Z8PzXdGGVIODi8Gkn3oXKgXvPh9Wo7Z8kcahuIYy9s52jrx+S3uG6k2teqf9AnChb2.qck3uY7k2DubP2D6wPhan33D16pT3E0RfyMW+VNuDb4DzFW24jQQsGx7XG65VboN2D23pNwGdUm3itpS7WdUm3GcUm3u5pNwO9xmn50BJgPiJ2.tks8NlJQqXdynL+f.+evDw1pI
-
@aaronventure Thanks! Nice use of the envelope as the trigger. I'm not seeing table reach the end of its run when I release a note though, is that correct?
-
@d-healey why would it need to? The voice is dead and there's no signal.
Unless you're gonna plonk that table to the UI, then just invert it and plug that into the voice killer (put the voice killer into a mod chain or somewhere else so it doesn't drink from the envelope output.
Then even though the signal output is 0, the voice won't be killed until the attack table reaches 1.
-
@aaronventure said in Table envelope release doesn't seem to work properly:
why would it need to? The voice is dead and there's no signal.
Then I don't understand how this is different to the stock table envelope. Doesn't it behave the same way?
-
@d-healey the attack stops ramping once you trigger a note off, no? So for short attack times and short notes, it could be a problem
-
@aaronventure said in Table envelope release doesn't seem to work properly:
So for short attack times and short notes, it could be a problem
Yeah this is the problem I have with the stock one, I'm not seeing how yours solves this - maybe I'm being dense today :)
-
@d-healey because the attack table stops ramping when the voice is killed ie when the release plays out instead of when it begins.
-
@aaronventure I think I'm too tired for this right now :D I'll take a look in the morning and it will make sense to me then. Thanks again!