stripnote vs. sustain
Hi, I am having a problem with a basic synth patch in which I am using the adsr~ object and controlling the sustain, but when I include the stripnote object to eliminate the double bang issue the note keeps on playing like it is still being held. But without the stripnote everything works perfectly am I missing an object? Thanks
Without seeing your patch it's hard to give advice. A generalization: stripnote removes the note length so that's probably not what you want when working with adsr~
An option could be to use the borax object, that can tell you when the last key is released (number of active notes becomes 0).
Pictures of a patch are not as good as posting your patch.
I would move stripnote below the keyslider and only use the note outlet to feed the mtof. Don't use stripnote's velo out to feed adsr~
I can't fix the issue here is my patch maybe you can get a clear idea.
Thanks a lot Chris! that seems to work but unfortunately the notein object is not working
Why not? Hang number boxes off of all it's outputs to see what, if anything, it's getting. If you double-click on notein in a locked patch, you get a menu of input ports.