Note release?
-
hello I did a simple little vst without anything it was just to try to sample a few piano notes. turn goes very well when I play manually but when I put notes on my midi grid in my daw, some notes are played entirely as if the release was set to the bottom. an idea? ps: I put 2 buttons to manage the attack and the release.
-
@d-healey help please ^^
-
@yall Are you using buttons or knobs for your envelope?
-
@d-healey nope. I just use gain modulation envelope for attack and release. and then the gain velocity. I had put in + an ahdsr to control the end of my notes
-
-
@d-healey I have 2 buttons connected to gain modulation attack and release. . and just a gain velocity curve. the samples were extracted with samplerobot and recorded in sfz. then in sample map then in ch1. but sometimes certain notes last a long time when I pressed a little time
-
@yall Try using knobs instead of buttons and give them the full range (0-200000) in ms. That way you can have more control over the release time.
-
@d-healey yes they are well tuned and work perfectly but it's just when I read my midi recording that certain notes are held as if I had left my finger on the key for 20 seconds
-
@yall Sounds like a hanging notes issue. Without seeing some code there is not much I can tell you.
-
HiseSnippet 4332.3oc6b07iaibkmpaSOVZ73wy.mrSvlcAQiDf1HNsEo9NClsYK0pc2q6tkrjr8L6rCZyVrjZtlhjCIUa2dh20HHAYukiKxMeXAVr21C6gjKAF4uf.DjC4RfygcABBvB+evt0G7ihTTRThc6tE1Q.1rqp36U+duWUuppWUrZZp2EXYoaxjJcmSL.LotJa6SzrOp1QRJZL6rISpqvZnHooKvT8DCIKKfLSpTKeGTooReIF7u2rdUIUIst.+rXXdftRWvtJCTr8yso3cUTU2RRFzQY.0amWbmt5Z0zU0GBQxxrYYLj59Xo9f8kPu1RrLotbcYEacy11R1.KlTWppt7IsOR+IZj2+AJVJGpBPI3YZCYDI6szUkQHFkKSsiTTka5JwVLLoXa5K+KSj+avtmhrhW995gqiKfymBZ8QpkBBukC.OdZ3kkBdQ.oTTP5RDH8Ars6ZpXX6WBBOuK6NZ1.ydRP0NMTHuKyR+p2mslN7MzrWafziAaYBS3QwpExl8Vb4yl8lebF3Onx2xl6XIStpCss00349DNWh6CrqoOvPWClX0UbJeEHc9D0TRCnNdZHEuBtpBWSBSolDBVSjLKLEhJDEQEmBQEihnRS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Ay8+PDWUaL.ttz.0kCvaAL.R1AGy+JhsZcGS8gFgo5MqiWcTGSotOFcp4nJngF.ZPsokwZl5VV8fhClWVzE0bnYejtxOG7oMxJXdnXQPYVQVp6aAPMhT551Bv+sw0R1Nj0qtDKIMenzBgRmKT57gRWHT5hgRWxOs2kUC08mawQtPWtR7bFCYC9i0f5Mqpz2qJH4PeO25orw.h5Nx8gRGC5oaNfhSQ3o+xmU2ItWJdc0m7U16BP.FRsznST28nz4F2ZuwgBEMaZTtmtlNYp8A6c.as2uOvjF6QJPNaz.0MkgavwoVm8tJZ.Iyfc5mIcA+LecFGo85ib1WDNjCuDMhxodyr2w8yF3APiTWTsi.72vKImm3vOsPD8l0gdsb7SDd9aAc34bXfBZXNEWR0oRTvVNVK66T2fbdDQrkh8huupyhuQcomo0e+h+7+9+1rDTLtabi+0MFy5uE+iO6Gu9+Ob82A72bkX2wUX5PbzNtH2twtiqach4AdqoRUfMWw0v+58YpeFeM3ebbC81U196gxqBIMpT5zmGd.R7J5dqNx+oXXKdqh6jFBiScv53lyM5EjOB.mIWE5CCfFrdevFT2sYteaMTWUZdecTT29ZaZdBcdh+h+5+q0oC.B9hNCZUAOCP0+Bl6ub8SsHc71dckStIAYZ9b3uItK3seuJKdYPbnUsddA02F1tttrBJaN+Mwe9xdmgpTKoR0LF+y87k.Wc3aETNPpqo9AcI2LdHrdEbNPTp4bH62Ckly69zikM6ZYQG7EkC51EMUpuOOCSzzHLGzjaNnI+bPSg4flhyAMklCZJOQZPqjdig15CH9+gYzrNogUp5dMrVl4+C.p3Qbt
-
I don't see anything there that could cause hanging notes. Which DAW are you using?
Here's another tip:
if(value==1) { Engine.loadUserPreset("PRESET 1.preset"); } if(value==2) { Engine.loadUserPreset("PRESET 2.preset"); } if(value==3) { Engine.loadUserPreset("PRESET 3.preset"); } if(value==4) { Engine.loadUserPreset("PRESET 4.preset"); } if(value==5) { Engine.loadUserPreset("PRESET 5.preset"); } if(value==6) { Engine.loadUserPreset("PRESET 6.preset"); } if(value==7) { Engine.loadUserPreset("PRESET 7.preset"); } if(value==8) { Engine.loadUserPreset("PRESET 8.preset"); } if(value==9) { Engine.loadUserPreset("PRESET 9.preset"); } if(value==10) { Engine.loadUserPreset("PRESET 10.preset"); }
Can be replaced with
if (value >= 1) Engine.loadUserPreset("PRESET " + value + ".preset");
-
@d-healey
I am the champion of code that is too long. thank you.
I really don't understand where this problem can come from. I just re-exported my vst without any velocity to see if the problem is not from the -
@yall Which DAW are you using? Have you tried a different DAW?
-
@d-healey fl studio and cubase. same problem
-
@yall Can you share some MIDI that causes the issue?
-
@d-healey
in fact I play anything in recording mode. so I don't use a midi file. I think the problem may come from the basic samples being imported in SFZ but I don't understand why. they are well converted and the sample maps too and the hr1 installation is going well -
hey @yall did you ever figure this one out? im running into the same issue with a project im working on..
-
@Adam_G Can you reproduce the problem with a sine-wave generator or does it only happen with a sampler?
-
@d-healey said in Note release?:
@Adam_G Can you reproduce the problem with a sine-wave generator or does it only happen with a sampler?
actually this particular project has both a sampler and a sine wave generator playing together though its the sampler note thats not being released it sounds like. could that be whats causing it? they sound so good together.. lol
-
@Adam_G Make a minimal snippet that demonstrates the issue.