AHDSR ScriptNode
-
@ulrik I'm not able to make something out of the voice_manager. Might be a bug but or just me...
Changing the value knob manually doesn't kill voices,so I imagine it won't work when connected to the GT output.This seems to kill previous active voices, but it is like the voice is cut as soon it is begun no matter theGate
parameter of the envelope.
@Christoph-Hart A bug I should push?This is what I do:
In the waiting, a silent_killer should do:
-
@ustk yes the silent killer works when all keys are released, then it will kill all voices, otherwise it kills nothing it seems...
I added a "smoother" to get rid of all glitches and noise
-
@ulrik I would just attach the script to a simple gain, so there is no need for the silent_killer node. Kind of a tacky work around but it seems to work.
HiseSnippet 1530.3oc2Y07aaTDEe13LIwosPaEU.RbXO1JUhrCkBR8Pb9r0h5DqtgT3TzzcGGOJ6NypcmMItUHwANz+E5EDm3+gdCINwMtiDp7e.W4D7l8Cuy5rw0wXGnMGR77duYleuueiS6.gMMLTDfLptaOeJx3xXqdbY206RXbTyMPFuCtEITRCLSHsVOeRXH0AYXT49JBFUmEE+yetxZDWB2llSBg1SvroOj4wj4Ta23KXttaQbn6x7zj9NMZZK3qKbEQ.dpfqg7I1GRNftMQI1LXjwba5vjh.KIQRCQFytlvomUWww7D42iExdhKUsnNxBNnDxaIbcTHV8Yz5cYtNsyz6PDx.2N2JTIwJ7d3VLGVe54ViqFyvLeG51CiYJBuJEfW8yBdk.ICMHMaBjtF1xNf4Ky4nvykvM4fyoCAL65PIQVjwOgWW.BvkK4QNjtU.rn+Ft4cqU61lvut085DwskLA2Tv2VHo6vu4sV7YKVcwuYQyAY0oSo7TWSfv0kFTJakmNXXa7l7HumPCts4QD2HZeAA0unMctQylZmn0ZBJ3M4L4N9zz04AE0KwCfRMavm9xlaPjDkSIkFHmOMPxTvwXC5QPDdhKpJdCZ3gRgODieJ+GD4HbhbIxhgSpbnTFf8nfOT4n3gLYO8brAiwl8rsG0JMEnTscDg60vsYR6tki2YJAufUaZi2zL1qf2rSGpsLGryh25qFZ54DGJ2HAJWB+XxQz3xnw.4Fwq6HB7LuOkSCT1z5CoP5uNpER8G4Bo6X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ArnbmZY8QSYVWs1HkY8LlitIoE6j2b7fuOdmP6kMieKs4+8Ol9hvQdQbGdD6.w91IOiRMD1BwT.8lG+OopJtkZsYczQoSUhqsTMjGygsuss5KL3iA6S46Y4wXOexXrm6LF64SGi8b2wXOe1XrmOen6Q80otZjT3kD+CDZuYx.0FIe8xwoBn+AUAF4Q
-
@crd but that doesn't work here, I'm not able to use the attack, decay, or release, if I don't set the same values in the default envelope.
My intention was to set a scriptnode envelope on the gain side and don't use the default envelope module.Unless I missunderstand what you mean?
-
@ulrik Here this works:
HiseSnippet 1447.3oc2X8zabSDEe7tYR5l1BoHp.j3fO1JUh1MTJHwgr4usQzMYUcHkaQSsmM6nXOi03wIYKBINvA9.vkdiuFbqRbBINf3SP4Jm52.3MdrWauq6RRZ1Tfbncm26My768+23tRgKMJRHQVM1cPHEYcMry.tp+Z8ILNZq0QVuEtCIRQk1FRqNHjDEQ8PVV0uulfUiYPI+8xkWk3S3tzbRHzdBlK8gr.lJmZ21eAy2eShGcWVPAoua6sbE70D9hX.O0wMQgD2CIGP2lnEqFFYM6FdLkP5nHJZDxZlUEdCb5KNlajeOVD6I9T8hVHG3fLj2T36oQr92n05y785lo2QHjEtatUntwJ7t3NLO1P54ViERXXmuih1CqZkgW8Rvq0qBdU.IqBPZFCjtA1wUxBU4bz34p3s3fyoGAL6EghQVj0ywqI.A3pECHGR2TBKFtgaculMuiM7O29y6EycULA2Vv2Vnn6vu0sm+qmuw7ey71ixpWuJ4ouFov2mJqjs1SKmzFuEON3IT4crOh3GSGJHn9ksoyd5rotFstffB9VblZmPZ557fhVU3APolM3We4VqSTDsSIkFHWHUpXZ3XsN8HHB23hZfWmFcnRDBw3i4+fHGgWrOQUNbRmCkx.rGk7gZGEOhoFTLGazXrYd01ilUlBTo1dJg6MvcYJ29Ui2ZUfWvpMswaZF60wazqG0UkC1Yva9USL87BGJ2z.kqheL4HZRYzDfbyj08Dx.66S4To1l1ZBER+sSagzvScgzcbU.D1UR3QghHZqhm7H7V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rOUumkNG64iOG64tmi87Imi8buywd9zywd9rItG82RYkXkHvD+CD5tgYrPKy2VJIU.82.TWGeTC
-
@ustk sorry, I missed the voice manager part, yes it behaves ugly.
-
@crd Yes that works, and you don't need the default envelope :) , still a lot of voices not killed though
-
@ulrik Are you trying to manage resources? Whenever the release value is high there will be a lot of voices. You could try scripting your voice count with a midi processor.
-
@crd according to the voice meter here it shows a lot of not dead voices even if the release time is 0
-
@ulrik that's strange. The snippet for me never is behaving as I would expect with reasonable voice count numbers. Also I'm surprised that is taking 7% CPU for you. It's 1% on my rig.