commit - bd861c4e7af4398ec6472f4855e87cc01e0aea74
commit + cce21a4d4fb1285fd07ce47c0cc5a57392e09026
blob - b1a1a579da6402e4aa92a262b573481040e38dc1
blob + 95a5cd48cc2122c9370e9087cbe18dda1699009c
--- cw.c
+++ cw.c
/* envelope parameters */
static int rise = 4; /* ramp up (attack) time [ms] */
static int fall = 4; /* ramp down (decay) time [ms] */
-static rampfun_t *risefun = ramp_lin; /* shape of attack envelope */
-static rampfun_t *fallfun = ramp_lin; /* shape of decay envelope */
+static rampfun_t *risefun = ramp_sin; /* shape of attack envelope */
+static rampfun_t *fallfun = ramp_exp; /* shape of decay envelope */
static int lowtime, hightime; /* (in)audible time included in ramps */
static int inbeep; /* did we last beep()? */