Odd behaviour with the M4L envelope device

Kevin  Herbert's icon

Hi just signed up here to ask this so hi.
When using the envelope midi device playing a chord with the envelope mapped to cutoff of operator for example the midi note off message is triggering the envelope again. This does not happen with a single note played or two notes everything behaves as expected but three notes this odd behaviour happens when releasing the keys. also tested a four note chord and this time the release part doesnt work at all.
Its like the note off message when playing more than two notes sends things wonky. Is this a known issue or is there any other envelope device in the M4L library that someone could recommend that doesn't suffer this problem?

Thanks
Kevin

double_UG's icon

here a modification. The release now starts only after the last held note is released.

Envelope dUG.amxd
amxd 499.41 KB

Kevin  Herbert's icon

YESSSS! this works! thank you so much i buy you an internet beer lol!
i got a volca keys the other day and there is only 1 envelope so when its controlling the filter cutoff its tethered to the amp so for pads the slow attack on the filter is lost due to the slow attack on the amp env.
i got a max4live controller for the volca keys and fiqured this would be a good work around giving me the second env for the filter but hit this problem which you have now solved for me! Thank you again!

Tolis Vagios's icon

Had the same problem.
That device is exactly what I need and it works great.

Thanks!!