tested enveloped sample player using a trapezoidal envelope. Setting it up is a pain, how could it be done better?