morse: use cos envelope and 8ms ramp time
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 19 Nov 2009 22:53:14 +0000 (23:53 +0100)
committerSimon Schubert <corecode@dragonflybsd.org>
Sat, 21 Nov 2009 09:27:46 +0000 (10:27 +0100)
commit2db171054e8604e6e11be55ee0bf54e088b7b77e
tree95fed027774b15b9487a4dd2423316c6dd2de13e
parent4ec798a038586087b669e4bab132bdd7802a8fa4
morse: use cos envelope and 8ms ramp time

The previous code still created key clicks, probably due to the short
(~2ms) ramp time.  Using a simple cosine envelope and 8ms ramp time
reduces clicks significantly.
games/morse/morse.c