Note release?
-
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.
-
@d-healey i will try today. it doesnt happen in hise at all, only in my exported project.
-
@Adam_G Does it happen when compiled as a standalone app?
-
@d-healey just tested and it doesnt happen at all when i play with a midi keyboard or a midi player module in a vst or standalone versions.
it only happens when i play a midi loop through my daw with the vst version
-
@Adam_G Does the problem occur when playing the same loop through a different plugin?
What about playing the loop through your plugin with only a sine-wave gen preset, no sampler?
-
@d-healey its not isolated to a specific midi but it does seem to be C and F that it happens with. it doesnt happen with any other plugins and yes it does still happen when i power off the sampler and leave the sine wave generator on. just tested.
-
@Adam_G That's good. Make a new project containing only a sine wave generator and see if it happens with that.
-
@d-healey yes it does still happen in an exported vst with nothing but a sine wave generator. just tested. brand new peoject
-
@Adam_G In that case you need to post the midi loop so we can test
-
@d-healey im happy to share a loop haha but as i said it isnt isolated to the loop. ive tested many that i know work well and theyre all having the same issue. i believe its the sine wave generator at this point.
here is a loop that was playing when the issue occurred:
https://www.dropbox.com/s/g9erwggi0wy0cq0/Lead24_bpm128_fminor.mid?dl=0 -
i believe its the sine wave generator at this point.
So does it happen if you remove the sine wave gen and only have the sampler?