prototypes for nice linear fade in/out and crossfade effects