sound.enveloppe.dahdsr : fix post release sample returning sustain instead of 0, implements inverted, add tests