ScriptNode Envelope - Display Buffer not working
-
I can't get the scriptnode envelope to display in a floating tile...
HiseSnippet 1696.3oc4Y0sSabDEdVfwIljzjnzqhZkr3JhDwxqw1X2dQwXa.qfAKrCs8pngcGviX8Nq1cLfaTj5SQed5iPupO.8InuAzyY+w65e3m.DZkpiTxNmybl867+Y1z1UZv87jtDszcG5vIZOk1YnspWsdLgMoYch1WQaw7Tb2LAj1XnCyyiaRzzleKjfV5EH9+96eXClEy1fGShPNPJL36H5KTwTau96DVVaxL4cE8Sr6Bq2zPZWSZIG.3YdZNhCy3D1w7cY31liRzR0vTnjtcTLE2insvFRygc5IOyNX+GH7DGZwwE5jNvAEPdSokIhX7YRsdBKy1Q5sGgnQaGaElOvJ70zVBSwH5wViW3yHSrDIsGZyMN7leL3oeYvaFPRKAjVH.Ruj1wvU3nh4f34Izl1fy4HFX1SBkf8Rz9cZMIrAaU19rS3a5BKFIvxkxkakLve8lu+nA1FJgzNizdWohum8xuYwOtX5E+zhYlj0QGMSd3qwUZYwcmIazS6dUBtr8f9GxcWIyoLqA7QaDT+wsootY1Ti.sNwFk1MsEp8b3gqiCJzmgGfDZ1fmdey5LECcJgzf84vcUBDNZ04mBQ3Atnzz5buSTRG+812QZimf1SUgwTANkMsjLkv93tB.1B.AOmljjN473ThlqOLdQ20CAPTlZ0sq2Y+sbYN8HGdbTdS5TQ4dBEueL0Kt3hWON07gj+UjrhetZ5ivWy01l9wEyjYoQ1mllK8cYVZqVM18fkVA4zz1jeNPS2eEXYsjm8iR2S7fDXNP+HlkGewOQNSXp5AIbZ+oFgziKNtmBW8a9UElJhGx0jlCrXpwS.wpNgLfHnwh5wPaaOgZXxpRSlUtvkGAkalEMlY7wMDtuj1VnL5Ma7N2LvKDm8kFug03dFswQGwMTwfcA5l+zUVP6dGJON.Jultkk7PlUrADBzATwCJx8sgryLhelQaP+J5H8G2zNRN23NRZyeeUheguTccdPiue0TtFu60LxOi13I6Y9n.H+MgkbQu5ALWAyVMBm9v+QT+pXWOj2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cMoQWrMbctnQu6.2QxewEvuPl5QyvhL0iX9f7N5yLbkevH3FqXr2i8o.5ss++wAoosv0YzImlLIquvT7ACCzb+Vv9LaYxeKjY0agLEtExT7VHSoagLqcKjo7UJC90rBmhCSEABsaDbmGsF1LHR1Opm7O.LpZ+dC
-
@DanH You need to reference the source of the display buffer, then get the buffer itself so you can create a path from it
HiseSnippet 1924.3oc2Y07aabbEeVIMxlJwsws4PPPBvBewT.xzbscjSPPfEEEkifEkHLkEZPQg6ncGwchFNyhcGJZl.i.jDDfbqE8TODDTf9mPu1ONz.TTzCs+Kji4PPN1atuYlc4tjThRUxQMnT.Rbl27dy6yeu2tpUrzmljHiQNk1YPDE47h31CDpv5gDl.swZHmeDtIIQQicsas5fHRRBM.43L680a3TZNj4y2cuUIbhvmluEBsqj4S2j0kox2s0JOfw4qSBn6v5V3z2YkM7kh5RtrGnOyhqhhH9GP5P2hnO1LXjy7MBXJYbaEQQSPNyspLXP6PYeg876xRX6wo5Edn1ffrautjGn0X8tn5gLdPqL6NAgbvsx8ByZ8BuLtIKfMb+buwKYH3lyQQ+gyLipdyNh54UT8pVP8NBUxofJMmUktJtseLKRkSQqOu.dCADb1m.t8hph8rnY9SyhqKgSHTU5RNftdLrXHGkWtZ0kbges3auvBfqOQ4dHI189Mar0ttuiqIQnRGppoLnGm.FV4qYncsQOe.KIhSFrZu82mF2FBd9zhbu1jjKHmiQLf.NBwNg3J6oUkBBoEQP4d.2YVMvQcY2Ho.VT9ZVxF8290JITUKH3pdnrmhInk2umvWwjhxcVbgObgRcprOjqViyKayKSpzOjonf.JsPI8EFMtlVwOlBg+VDUXYUHKQqAaJ8I7Uk8DAIkqt3Rt+bvs6sjK76a38Kf+ZEWGsxXul7aioBqwiBIC2YONTT.7T4VKpYypflaKZI2i9BsmaRgaDkkXPLo+zEBnwF07oFO9Muo6iRXhNtDWETDG6pjtwzHsmzcudJWl55bt6dTWNqSnxR+86AAorC0OjJfS45GRDcnItkgT2dc0RTERioWOwUHc6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TsdJIjpMr00+sYIWIUPaRg3bVLnzbexe4u+69ps+16g9egwMO9cgpjoYZWXpxkfwm8ICN2t4RX.ESiL8CBqpD9gTNkjPetk9TuW7gSUZ3SRZ41UtzeAPOUwrNc.ILBymaIOO7.HJ5XBMeV+g3NiVpOewfUZY3N6Tq9CPWDQtgEmO6Ye1A6+we5JiAyUbYZGpMBJfrOT4s6lBfLRH299Ds1ja8G8vcafNIu6Ps5tedseI92+0267nUilNgF2cC.Cau4ZWvN6O5udIzO4KOWN6T.sIrG.coQ8Zu2ErA8m+l+0+n+e3bYPYvhSj7.3bOp8N01XqSedyeT8adk4V7qNW4M4vqS3iArtFa1nV6FWz0n+6u329ze8JmOqJClFM0IodQ7FI6po5SF1BGlhZUo7ftDyr6moWXzyk2Txr++8aJw9Vo6zj.sozCLBizZeS3oOTyvGCMcc0rAkaCOQiYwyfOoD8xl3TSzKi3Exczk3GKeru84K04XW1rCX2By+amR3l50tdnCKVB0kEvdruu1EeCne+QyysNC7b6y.O24LvyabF3Y4y.O28LvyaNUdzuioz4szkbvFsZXeBEmFBBj8ZxzQ+GH9gte.
@Christoph-Hart Could a broadcaster somehow be attached to a display buffer to remove the need of a timer?
-
@ustk Thanks. Presumably it's meant to work as per my snippet? All good, I'll use a dummy envelope for consistency...
-
@DanH said in ScriptNode Envelope - Display Buffer not working:
@ustk Thanks. Presumably it's meant to work as per my snippet?
It's using your snippet, I just added the panel and the display buffer code to it...
-
@ustk Oh sorry, I meant I assume it's meant to be able to be used with a floating tile. Maybe not though? @Christoph-Hart
Also how do I change the behaviour of the scriptnode envelope in regards to voices? I'd like it to trigger every time a note is played but if notes overlap it continues on it's path. So basically polyphonic vs monophonic behaviour...
EDIT: 'Retrigger' :face_with_tears_of_joy:
EDIT 2: @Christoph-Hart the retrigger doesn't quite behave the same as the stock Hise envelopes - If the notes slightly overlap (i.e you release the first note just after pressing the second) it kills the envelope. Maybe the note off message is interfering?
Also notes that overlap within a short period don't retrigger the envelope, but they don't kill it either...