New SimpleCurves library to calculate attack, sustain, release curves