Sustain Mode Envelopes

Great that works! The only issue is the sample then loops but its easy enough to set the loop ranges to 0.
Thanks for the workaround!