Note Release - randomly gets stuck
-
@clevername27 i actually dont have any code in the note off, but the sine wave generator having the same issue doesnt have any code at all.
if you use fl studio i recommend trying it. export a vst with only a sine wave generator and no code, then in the piano roll add a few c5 and f5 notes. let it play for 2-3 minutes and you will hear notes will stick. that cant be related to the project or hardware
-
i would love to hear from @yall and if they ever resolved or found out the cause of this issue
-
2 seconds from making a post with an annoying youtube clickbait title just to get some feedback here lol.
could any fl studio studio user out there test this to see if they get the same issue at least? here is a snippet and demo midi. all you have to do is export it as a vst then let the midi play for a minute or 2 and see if you hear a note that plays longer than the rest. its pretty noticeable.
HiseSnippet 1009.3ocyW0raaaDDdokVWK61f3.ihdjGxAEfz.IG6l.zCQ1xRABI1VvzIsnWBVSNxZgI2kc4R2JDj2M+HjGk7FjNKoj4pDJYYkeP4ItyOb+lY+1YF1WI8gjDoh3T6zQw.w4GodiD5gsGx3BRuCHNqQ6qfDPS1eTLKIABHNNUdtQqSspjrmO7r8YgLgOTHhPdsj6CujGw0ER625E7vvtr.3Tdjk06zpmuTzVFJSQjTg1fDy7ufcNbDyX1JThypcB3ZoxSyzPBwo59xfQdCk+iH29WyS3mEBlEMId3GJWbWYXfAwFoj1C4gA8mDwIDhCseQ7WIO92hdHOfes7h7vcyT3V3gc9vYkogWkofWyYAuRfjiEjplCoMod9JdrtPiAOaP6IzfZ.CS61PI2VhyUz1Rz.g9QQrKftJbw0NTemca7P2s2swC98AoBeMWJbkhijZ3XQ8Gr9aWu15uac2OU0fAkpyrMJYXHnJUs4jVMOGqKRiNCTOz8RVXJbsgX3OcNc0EKm5mG0VFJE8Db8wwv30ymTPFm1vyhJiQH9lN6j3NiOI7B4AfhvwOxOPegPdVSRF3s4+jE14s+Rb9wk37q5c.SyLjowwBFewfRyMoQmCfKwal4TqZzCfjKzx3rfMJVJLQtyZ2X39uEa38aMBuI47W3qQ1UE15pHlkYa0JdRVtG9g9YpGW.t+A6Rv84f.TL7ntIduWgW4QZpwlMoG6qQCNUwDIwxDvjWVXPtsMHClAHqOMHqe6A4FTOHheJBpjof2p23AWw9dkp.d2Z.bOpGSmhZvaU6EISMT2OuHBV9RFjFZ72tlloP9XEn6SUHwTsPjv0irKzeKJz0XtE5VTHtIsOW6OrbLtRIXDo8eKv331C+DsyfAfut.fUoc+yksWvhu82Ie62HiOj0gNaymA+X1spe+h1pNdgaU+o2Qs9vE2LrD9pDraD72mXNMsk2VxTkp5COqKFjk5ymw7soAUl2HCyr+wz2Hrrujl0U+VM+P0EiybCcx9+eUfoF2o1DL5wihCgNhKgPruUFFuG1nZ.KMTOQ5zj7CkBY7Pof6ay.NAzJ94mCJarWZ.smViCbZ2r5DHDX1r4625kHKjov7Drj4ha+nekdd8Kzb35ZtY59kbt8cklM2J4UVnJ4e0w6xWU+qCTNQlp4hyOjgDUbb.5QoQdXgUe.QhP.gIloBVwTbLecCy57JqhfrEeDeFqroYsyXkMmn76xdDw7Ux23mOzpgKuVlDLtEY+AWM5gl0tWOmLk13QMvQwB3uw22jt+UL+TtOauD973kvmcVBe1cI742VBedxR3ySmqOllQ6kpkQ4WEQA86j8WCNNcDLjImw5I+GSIEOoB
any midi will work but here is one that i know for sure produces the bug
-
Happens in Pro Tools as well
-
@audiolyf thanks for checking.
@Christoph-Hart you have 3 separate users with 3 different daws all reporting the same issue. clearly this is a bug in Hise. could you at least acknowledge if youre looking into it or not? youve been silent on this one :downcast_face_with_sweat:
-
@Adam_G I've had this happen in Ableton, FL as well as within HISE itself. Never figured out why or how it was happening.
-
@Adam_G I will try it out on FL Studio later too, turns out Pro Tools is just stuck note hell in general.
-
@audiolyf said in Note Release - randomly gets stuck:
@Adam_G I will try it out on FL Studio later too, turns out Pro Tools is just stuck note hell in general.
Yeah I have users reporting this occasional problem - especially in ProFools...
-
@Lindon Do you have anything in place at all to prevent it? It's completely unusable imo, any time you stop the transport in the middle of a note it hangs and the plugin must be bypassed/unbypassed. Read some rumor about Pro Tools not using note-offs and instead translating it to velocity = 0 but I have no idea if that's true, it doesn't seem to make any difference having a sample map blank at 0 velocity. It's driving me nuts.
-
well this seems to help a bit...
const var th = Engine.createTransportHandler(); inline function onStop(isPlaying) { if(!isPlaying) { Engine.allNotesOff(); } }; th.setOnTransportChange(true, onStop);
-
@audiolyf said in Note Release - randomly gets stuck:
I will try it out on FL Studio later too, turns out Pro Tools is just stuck note hell in general.
Are you testing with the snippet and MIDI that @Adam_G posted?
-
@d-healey the midi really doesnt matter because it happens with any midi i use. i have quite a bit.
-
@Lindon said in Note Release - randomly gets stuck:
well this seems to help a bit...
const var th = Engine.createTransportHandler(); inline function onStop(isPlaying) { if(!isPlaying) { Engine.allNotesOff(); } }; th.setOnTransportChange(true, onStop);
@Lindon added this to my oninit but still happening unfortunately. should it be somewhere else?
-
@Adam_G nope thats where it goes - it will help for held notes when the transport is stopped only...
-
@Lindon ah 10-4 thank you
-
@Lindon Does it need to be in an undeferred script?
-
@d-healey it is for me, but really the major issue here is these stuck notes in some DAWS (ProFools and FL Studio for a kick off..)
-
@Lindon said in Note Release - randomly gets stuck:
@d-healey it is for me, but really the major issue here is these stuck notes in some DAWS (ProFools and FL Studio for a kick off..)
abelton and cubase as well apparently :face_with_head-bandage:
-
@Adam_G okay so here's a simple little trial - its trying to capture any
Velocity == 0
events and turn them into "real" note off events - try this with your midi file...
HiseSnippet 1479.3oc0X0raabCDdWKsoQJMAMAFE8HqQNHi5HK47SKZga7exABwN1wxwo2Ro1cVIBuK4VtT1QnH.4MnmxgbquC8ROFza8VeBJ5iPeAJZGtq9gahjijhS.pNHHxYFxu4+gZeovEhiERK6BG1MBrr+XmFc4p1a1lx3V02xx9hN6KgXPYsQ2HZbL3YYam6dZp1Exak74uu6Fz.J2EFtkk0QBlKrCKjoFt69qceVPv1TO3PVnA22Zs5tB9lh.QGDI4bpXEQcOl1Bd.Uy1bNV1WnlGSIjMTTEDaYmeCgW2FsEmxS4+HVLqY.nWT0pAdPoausHvSiX8tVa1lE3seeMN1xx1Y+g5etT8edmcYdrA6OzN7IIDHCkvzdXOWV3kKC7p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